Commit Graph

7 Commits

Author SHA1 Message Date
Emilien Macchi c907f8e8ee 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: I8746aa067933e775bac52d0ceb882217a38e3375
2016-01-28 04:08:48 +00:00
Emilien Macchi 2a85f4f1e4 Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I14527e8a95b7ac6ce60333c4c632cc3fe7b77378
2015-11-26 14:35:16 +01:00
Emilien Macchi f658ca8213 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: Ic95dc71f9dfb2d06665f8de6b54a0fe1f113300c
2015-11-25 16:09:29 +01:00
Gael Chamoulaud 05ebd9a2a7 Remove class_parameter_defaults puppet-lint check
Change-Id: I3ac34cd07ccd61e3f3ee39a812c1a2fb05e05bb6
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:34:51 +01:00
Emilien Macchi e3c0a7a5da 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: I57549c6731e7479da9ac9c1f1dbe37140312f0a8
2015-10-08 14:52:31 -07:00
Cody Herriges 74c4e1d88e 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

Change-Id: I5fb7b79f14f52ff5598920ab8a2411aa02af6f72
2015-08-18 14:51:35 +02:00
Emilien Macchi 32bfa8be33 First commit with basic structure
* Add fixtures
* Add gitignore
* Add gitreview
* Add Gemfile
* Add LICENSE
* Add README
* Add Rakefile
* Add metadata.json
2014-12-29 13:46:13 +01:00