Commit Graph

7 Commits

Author SHA1 Message Date
Colleen Murphy 3baf809e4e Add test for ethercalc::apache
Add the ethercalc::apache class to the test fixture and ensure the
service is accessible over port 80. This also corrects a minor
idempotency issue in this class due to the way the ssl-cert package and
the /etc/ssl/private file resources were ordered.

Change-Id: I4cdba5b1881c3e9891ca9f8c2c4dd50ca5662d4e
2018-08-13 17:35:37 +02:00
Colleen Murphy bc771d07c8 Add idempotency test
Add a test to ensure the module is idempotent. By doing this extra work,
the ethercalc service has enough time to figure things out and get
started, so we can also enable the checks to ensure the service is
responding.

Change-Id: Iede6db9dda0814bee9072c6dcc554ccc1aa89af1
2018-08-13 12:01:05 +02:00
Ian Wienand 15c133270b Add basic rspec test
Add a basic apply test

Change-Id: Iff4d74806c67c9480e3679fcca56d8470b9fd29e
2018-08-09 20:56:27 +02:00
Colleen Murphy 4b1adec999 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: I2d36cc46c473598a8a66259554b454b73ae98b83
2017-08-18 10:41:43 +02:00
Colleen Murphy 84d7a8e2b0 Fix beaker on xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: Ie8a5537579c40ce443489967100134eb9ee60e94
2017-06-24 15:39:05 +02:00
Spencer Krum e9dc09a9b3 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I57e34c58760f1571f79649f85d739b192476f834
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:35:21 -07:00
Spencer Krum 32b048bfbc Boilerplate beaker-rspec files
Change-Id: I3ae18482462b90826452059f51223c5c5000e87e
2015-07-28 02:04:13 -07:00