Commit Graph

8 Commits

Author SHA1 Message Date
Emilien Macchi
38ec504eb1 Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance
Use common code in puppet-openstack_spec_helper in Rakefile and
spec_helper_acceptance.

Change-Id: I4e55a36b345242ac0ffea7cef8b67ef25bddaf7c
2016-01-20 16:01:20 -05:00
Emilien Macchi
fa9e9b53e1 Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I7bed5618883dd85050e6353e47667ef7022c92f1
2015-11-26 11:24:10 +01:00
Emilien Macchi
b689f85d4f release: prepare 7.0.0 (liberty)
This patch prepares this Puppet module to be released in 7.x series (Liberty)
with 7.0.0.

Change-Id: I486d81c39db3d0cdac12e3db72ad3e82299a2d67
2015-11-24 10:10:48 +01:00
Gael Chamoulaud
30a503459a Remove class_parameter_defaults puppet-lint check
Change-Id: I1b66e5937a63fbbf4062f804fdb08323793014e2
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:46:30 +01:00
Emilien Macchi
129418ca43 Try to use zuul-cloner to prepare fixtures
In OpenStack Infra, we would like to run Puppet unit tests that
sometimes depends on other Puppet OpenStack modules.
Example: a patch in puppet-openstacklib that needs to be tested in puppet-nova.

This patch modifies the Rakefile to:
* clean spec_prep and spec_clean Rake tasks
* use openstack/puppet-openstack-integration/install_modules_unit.sh script
  to clone modules.
* do not use .fixtures.yaml file to clone modules and rely on
  zuul-cloner or git.
* Add openstack/ in gitignore so we never commit the
  puppet-openstack-integration repository (can happen when spec_clean
  did not run but you want to submit the patch anyway)
* Allow to run a custom Puppetfile if PUPPETFILE env is exported. It
  will allow people to test the module with the dependencies they like,
  feature we had with .fixtures.yaml.

Also add 'r10k' to Gemfile.

That way, we will be able to use zuul dependencies and run tests accross
modules like we do with functional testing.

Depends-On: If47bf18b941754faacb1af37896b57e1dac035df
Change-Id: I5177b5360811499fbffb120a0f63e94d999710f3
2015-10-14 23:06:17 -04:00
Cody Herriges
e3a2b0627f Initial msync run for all Puppet OpenStack modules
This patch is the initial modulesync run, it impacts:

* gitignore: just a sync between projects
* gemfile:
  - update and allow to setup facter version and gem source
  - split beaker gems with a dedicated group
  - switch to rspec-puppet 2.2.0
* rakefile:
  - use the new syntax for lint configuration
  - add a acceptance target
* acceptance:
  - sync nodesets
* spec:
  - added rspec coverage report
  - added shared_example rspec helper
* lint: cleans up any lint errors caused by this sync up with msync

Change-Id: I614a5c1acc41af5e6018add602633b8596e20954
2015-08-18 14:16:50 +02:00
Michael Chapman
0fc013377b Add hash based repository management
This patch adds support for managing repos
for major distros, separated by osfamily at
the top level and operatingsystem below that.

Since redhat, fedora and centos can all install
from rdo, which is the only current option, the
fedora and centos classes simply wrap around the
redhat one. This may change in the future if any
of them change (for example if RHOS support is
added and redhat is now different to fedora)

Change-Id: I5b18f393999d6f70757a2dfd9b12da049d6b64e1
2014-11-27 22:12:25 +11:00
Colleen Murphy
97915e0512 Create basic module structure with required files
Change-Id: I7cafe3b3e25cad41fdc222a12a6f2be06abcad0b
2014-07-09 13:09:26 -07:00