summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColleen Murphy <colleen@gazlene.net>2015-07-29 20:38:28 -0700
committerColleen Murphy <colleen@gazlene.net>2015-07-29 20:38:56 -0700
commit4411c10176ffb2a680634c2c50992ea873290c6f (patch)
tree09cf015442f5673aabda1e1c8f5e9bf772c5aca1
parent8448f506367edeec3cc55c2a5503492c1fa22b34 (diff)
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. Change-Id: Id2eac03d246a9dbee6ef678c2d581f0837a9e133
Notes
Notes (review): Code-Review+2: Monty Taylor <mordred@inaugust.com> Workflow+1: Monty Taylor <mordred@inaugust.com> Verified+2: Jenkins Code-Review+2: yolanda.robla <info@ysoft.biz> Code-Review+1: Clint Adams <clint@gcfm.net> Submitted-by: Jenkins Submitted-at: Sun, 09 Aug 2015 02:59:14 +0000 Reviewed-on: https://review.openstack.org/207283 Project: openstack-infra/puppet-haveged Branch: refs/heads/master
-rw-r--r--.gitignore2
-rw-r--r--Gemfile30
2 files changed, 32 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dade81e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
1Gemfile.lock
2.bundled_gems/
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..96912da
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,30 @@
1source 'https://rubygems.org'
2
3group :development, :test do
4 gem 'puppetlabs_spec_helper', :require => false
5
6 gem 'metadata-json-lint'
7 # This is nice and all, but let's not worry about it until we've actually
8 # got puppet 4.x sorted
9 # gem 'puppet-lint-param-docs'
10 gem 'puppet-lint-absolute_classname-check'
11 gem 'puppet-lint-absolute_template_path'
12 gem 'puppet-lint-trailing_newline-check'
13
14 # Puppet 4.x related lint checks
15 gem 'puppet-lint-unquoted_string-check'
16 gem 'puppet-lint-empty_string-check'
17 gem 'puppet-lint-leading_zero-check'
18 gem 'puppet-lint-variable_contains_upcase'
19 gem 'puppet-lint-spaceship_operator_without_tag-check'
20 gem 'puppet-lint-undef_in_function-check'
21
22 if puppetversion = ENV['PUPPET_GEM_VERSION']
23 gem 'puppet', puppetversion, :require => false
24 else
25 gem 'puppet', '~> 3.0', :require => false
26 end
27
28end
29
30# vim:ft=ruby