Commit Graph

7 Commits

Author SHA1 Message Date
Emilien Macchi f09e3b0fe9 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: I381d217d0c487123a2a3a106a52f7b9e67a877b0
2016-01-18 09:11:15 -05:00
Emilien Macchi 338e12e7e7 Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I6fb1fcd2bf8138f40341a9b16feffe0ce2277cd0
2015-11-26 11:11:32 +01:00
Emilien Macchi 0ff37d42b0 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: Iaceafcba74b388bce95ff86f917133f407398cf7
2015-11-25 11:12:53 +01:00
Gael Chamoulaud 9489bb7f2d Remove class_parameter_defaults puppet-lint check
Change-Id: I9e529d38a55e57b2f3a370036a819203eee89b72
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:32:51 +01:00
Emilien Macchi aa16baf9a4 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.

Change-Id: Ie8f0709bf360d9c4af2559b3278f26cd2cb191f5
Depends-On: I228683aea1a8def46eaac63704e41617ba892438
2015-10-09 17:25:32 +00:00
Cody Herriges 9948a9b252 Initial msync run for all Puppet OpenStack modules
This patch is the initial modulesync run, its impact:

* 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

Change-Id: If1902135ecb45e84d25d5b6ddd5698dd98c87646
2015-08-06 20:41:13 +02:00
Xingchao Yu 709728b1a8 Add README and related files 2013-10-15 11:16:23 +08:00