Commit Graph

6 Commits

Author SHA1 Message Date
Colleen Murphy 8158fd4cca Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Change-Id: I5a5c8613bf637f15d7a14481961991d242339d3c
2018-07-12 09:57:44 +02:00
Colleen Murphy efd4267ef4 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: I8233333e7c35a3a1191c0f8d070f6de5dfb7b33d
2017-08-18 10:41:43 +02:00
Colleen Murphy 9314b24380 Update Gemfile
Use the common spec helper gem instead of managing every gem
individually. This will keep the linter gems up to date and unbreak the
linter job.

Change-Id: I0034055dd172c23366ab5ba37b5b5174647e4f81
2017-06-11 19:50:30 +02:00
Spencer Krum 3f1c21aecb Pin google-api-client; sanitize Gemfile
Change-Id: Icf2aa6e7b44a0219e03cb9786726e0f6f9262a97
2016-04-14 15:19:35 -07:00
Glauco Oliveira 9c22e17cef Add acceptance tests for puppet-httpd
Add acceptance tests for puppet-httpd module so that once the module is
applied we check if files were created, packages were installed and
services were started.

Change-Id: I3e1430f2937bd2bc5ea789c626784af7d5d85959
Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
2015-09-28 14:50:03 -03:00
Colleen Murphy 17430b7507 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix errors
caught by the puppet-lint-unquoted_string-check and
puppet-lint-absolute_classname-check gems.

Change-Id: I9d74d25d2f2c95ec52a6db3bf070903240e1b933
2015-07-29 23:18:35 -07:00