Commit Graph

10 Commits

Author SHA1 Message Date
Emilien Macchi 908dca10f2 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: I96244525ca1251e475b16fa9538196837902f8aa
2016-01-19 14:36:09 +00:00
Emilien Macchi 4e28060dc9 Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: Ie0fba306041fce84d78b62f7f663af06d6790d9b
2015-11-26 14:32:05 +01:00
Emilien Macchi 5ca8b0b75f 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: Ie4215a8aa36c886972ad4ab801fb038e2afffc93
2015-11-26 09:36:15 +01:00
Gael Chamoulaud cee9bc8794 Remove class_parameter_defaults puppet-lint check
Change-Id: Iecbcf22e1cb01e6814c1616ea9a860421a212ebd
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:49:31 +01:00
Emilien Macchi 68eb6373f0 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.

It also fix proxy/ceilometer rspec syntax for Puppet 3.x. This change
could not be in a separated patchset since it's related to this patch.

Change-Id: I8d20b5297dde8a2ecfcaf3d21d221735bc9df8d6
2015-10-09 09:16:58 -07:00
Cody Herriges bbcccfa801 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: Ibc1c4cd5f4d9b553b565c2625b7fc380a509edc8
2015-09-06 02:05:29 +02:00
Mathieu Gagné 418e7c736b Disable 80chars/class_parameter_defaults checks
* Disable warnings for "line has more than 80 characters"
* Disable warnings for "parameterised class parameter without a default value"

We do not wish to track warnings for such violations.

Change-Id: Id4e7ab198575ebe8e0c6cb8803ab96495bac1d65
2013-08-12 17:50:21 -04:00
Branan Purvine-Riley df7c59ccee Update module to use puppetlabs_spec_helper gem
* Automatically populate fixtures directory on spec runs
* Avoid duplicating spec_helper and Rakefile between modules
2012-05-31 17:11:07 -07:00
Dan Bode 2dbcf740df Add everything needed by travis-ci
This commit adds all of the config files
needed for travisci
2012-02-27 16:52:49 -08:00
Dan Bode 47d49e7780 Initial commit.
This initial commit only targets a single node
swift install on Natty based on 1.4.6
2012-01-19 18:58:37 -08:00