Commit Graph

8 Commits

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

Change-Id: I687be5f4261c9bd556d1c44eb829ecd57f76c7ed
2015-11-26 11:22:24 +01:00
Emilien Macchi a7d945f624 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: Idbcb4a899ba7fc490355ad04173616eac5986302
2015-11-25 16:05:57 +01:00
Gael Chamoulaud 9d018baa5e Remove class_parameter_defaults puppet-lint check
Change-Id: If63c0c75096673805f177cd81f771603b1e8e2cf
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:37:29 +01:00
Emilien Macchi faba2b9163 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: I42fb3d11d65e261bd5fb0ccb757a68965699a693
2015-10-08 14:58:58 -07:00
Cody Herriges 5e258816b2 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: I036b24b059b2ac8af1e984db4ce88602b530586c
2015-08-06 20:39:29 +02:00
Sebastien Badia 5e268ff4bd Fix travis config (launch rspec)
* Provide default rake command (travis launch rake w/o arg by default)
  * Update puppet version to check (why minors ?)
2013-12-02 01:22:57 +01:00
Emilien Macchi e5b4e458ab First commit with basic manifests
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2013-11-25 20:59:48 +01:00