summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-11-09 18:32:21 +0000
committerGerrit Code Review <review@openstack.org>2015-11-09 18:32:21 +0000
commitd065123bcfe331c928728ae2800a7504d64deab6 (patch)
treeee725f297c43a53a972e7f199993e7a76838be7a /Gemfile
parent152f266cb3121698bcd1c2cf1782fd83a186b9d1 (diff)
parent0d6b04c21a8308701416c15c1594d6253d848753 (diff)
Merge "Add Puppet 4.x lint checks"
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 00000000..302ef415
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,24 @@
+source 'https://rubygems.org'
+
+group :development, :test do
+ gem 'puppetlabs_spec_helper', :require => false
+
+ gem 'puppet-lint', '~> 1.1'
+ gem 'puppet-lint-absolute_classname-check'
+ gem 'puppet-lint-absolute_template_path'
+ gem 'puppet-lint-trailing_newline-check'
+
+ # Puppet 4.x related lint checks
+ gem 'puppet-lint-unquoted_string-check'
+ gem 'puppet-lint-leading_zero-check'
+ gem 'puppet-lint-variable_contains_upcase'
+ gem 'puppet-lint-numericvariable'
+end
+
+if puppetversion = ENV['PUPPET_GEM_VERSION']
+ gem 'puppet', puppetversion, :require => false
+else
+ gem 'puppet', :require => false
+end
+
+# vim:ft=ruby