Commit Graph

4 Commits

Author SHA1 Message Date
Emilien Macchi 0f4618e24c 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: Id65e8b02a65abb936b5344a9217e2ce9d4a50462
2016-01-18 09:11:12 -05:00
Gael Chamoulaud 74ba586c49 Remove class_parameter_defaults puppet-lint check
Change-Id: I0baa68fcf2c62ee2af2da8172924d3811d1ef597
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:27:04 +01:00
Emilien Macchi a49f187941 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: I4f5b3df5c00bca02af401fd458a20aaa07ee560d
2015-10-08 14:43:41 -07:00
Emilien Macchi 18e92427eb puppet-barbican: Initial commit
This is the initial commit for puppet-barbican.
It has been automatically generated using cookiecutter[1] and msync[2]

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: I52b10cb17701bba20ad64d3f4cc15950c1038c54
2015-10-02 08:50:49 -04:00