Commit Graph

8 Commits

Author SHA1 Message Date
Clark Boylan 56f87fa040 Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: I46c786779b8f8d5b7dd836250de10f259744b5b5
2022-02-17 11:28:58 -08:00
Colleen Murphy 1211b073a3 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: I180d901bf18409bc249854e1925dba23187d28e8
2018-07-10 15:02:22 +02:00
Colleen Murphy b13391ded3 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: I8b1d3b1c9f1c750978989c705a9718790855dbb7
2017-08-18 10:41:43 +02:00
Spencer Krum f095058723 Use new infra_spec_helper for gem dependencies
Change-Id: I8af0205f4d9c29e02223c52b7133de1da52d65c3
2016-06-21 18:37:41 -07:00
Spencer Krum 806b8db0e8 Pin google-api-client; sanitize Gemfile
Change-Id: I03d4e0a466ebd857668f085528a6d4d24f514f80
2016-04-14 15:17:04 -07:00
Paul Belanger 0e68eea5af Remove invalid comment
Change-Id: Iae65fd408e46491b4e4f9ee3a23c388f2286a90f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-24 12:53:21 -04:00
Colleen Murphy 5674df86db Remove puppet-lint-numericvariable gem
Variables with numbers for names are valid as regex capture groups in
puppet 4[1], so this check is not beneficial and can be
counterproductive when we do actually want to have numeric variables.

[1] https://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#naming

Change-Id: I6ff5b68f40ece65101c6f262a3269d25bc1119d7
2015-07-21 19:40:55 -07:00
Colleen Murphy 140508f8a0 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. This patch also
corrects lint errors caught by the puppet-lint-absolute_classname-check
and puppet-lint-empty_string-check gems.

We disable the disable_arrow_alignment check in the Rakefile.
Previously, the system version of puppet-lint that was being run by
'rake lint' was too old to catch this. When using 'bundle exec rake
lint' the gem is new enough to catch this. Whether we want to actually
fix these lint errors is a different discussion, so this patch disables
the check for now.

Change-Id: Ib44f2d6ac941e6fed118a5ff78bddd3d0f0a40b5
2015-07-11 18:42:28 -07:00