Commit Graph

9 Commits

Author SHA1 Message Date
Andreas Jaeger c4a0810afb Retire repo
Depends-On: https://review.opendev.org/731947
Change-Id: I9cb64cb36e2329cf763c483013b344e3b230e37c
2020-06-05 16:15:59 +02:00
Colleen Murphy 65c5bb3d95 Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: I4f8f403452416a1b6203684e1b6d7b5e2743dce3
2017-08-18 10:40:36 +02:00
Colleen Murphy b5cf2999ec Fix beaker on xenial
Since the beaker jobs are being run on xenial, we need a special nodeset
for it, otherwise beaker gives an error:

 beaker-hostgenerator was not able to use this value as input.
 Exiting with an Error.

We also want to install puppet from the Ubuntu repos rather than from
puppetlabs, since puppetlabs doesn't support puppet 3 for Xenial. For
centos we can keep the install process the same.

Change-Id: Ifd2244ae9dd212b2475f9cd6adb994bc058a4769
Depends-On: Ife2993b07dd995fc97676c002a91d0e695407522
2017-05-02 19:23:45 +02:00
James E. Blair c6c51f90f1 Pin to ansible 2.0.2.0
There are two observed failures with 2.1:

* Our group hiera files are not being copied over.
* ansible_module_puppet_post_puppetdb.py causes a "MODULE FAILURE".

Change-Id: I79fd382180dfe3b024fdcdab8a5a984800fad336
2016-05-26 11:55:35 -07:00
Monty Taylor 4cf7f3da7b Stop installing the puppet inventory
Pulling inventory from puppetmaster was a neat hack, but it was also
a hack. Let's stop providing it.

Depends-On: Ic6809ed0b7014d7aebd414bf3a342e3a37eb10b6
Change-Id: I6bb66cecca8c3ddd6d2cef2a05324faa67ca98c2
2015-11-27 13:12:31 -05:00
Bruno Tavares a133b81441 Move test assertions closer to apply.
As discussed on another project patches when introducing tests[1], we
would like to keep the tests closer to the where we apply the spec.

This change makes the testing structure consistent to the feedback given
on puppet-bandersnatch discussion.

[1] https://review.openstack.org/#/c/221941/

Change-Id: I7d0d1dc856f03f422fa5331a98f20d5661c462be
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
2015-09-24 20:01:04 -03:00
Danilo Ramalho a86dbdb500 Add acceptance tests for puppet-ansible.
Add acceptance tests for puppet-ansible module so that once the module
is applied we check if files were created and packages were installed.

Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Change-Id: Ic569a70737f7e9d0a86c14e1f299b308ab9d3986
2015-09-21 19:27:38 -03:00
Spencer Krum 5e99e00dbc Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Iff07b9151a98059e1bbcc13139307f91273488d5
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:33:52 -07:00
Spencer Krum dbdec6d180 Boilerplate beaker-rspec files
Change-Id: I425c43406d09140c8f9ff7a2e72a19ba1ccc4b61
2015-07-28 02:03:37 -07:00