diff options
author | Gael Chamoulaud <gchamoul@redhat.com> | 2015-10-13 13:15:15 +0200 |
---|---|---|
committer | Gael Chamoulaud <gchamoul@redhat.com> | 2015-11-05 15:44:18 +0100 |
commit | 0d6b04c21a8308701416c15c1594d6253d848753 (patch) | |
tree | 77b453fb11f8c9903f4864d43a6e527e3b807bf2 /Gemfile | |
parent | d94dc617929c7547397babe81e09e17d7f368be6 (diff) |
Add Puppet 4.x lint checks
- This change adds Puppet-lint bits for checking Puppet manifests.
Change-Id: I82869d8f9f6c64ac2a95429f453c3cb76c046974
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 24 |
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 |