Puppet-lint v1.1.0 (the most recent release in the 1.x series) has a crashing bug, so we were depending on puppet-lint HEAD. On 2016-06-22, puppet-lint v2.0.0 was released, so puppet-lint HEAD is now in the v2 series. But puppet-lint_variable_contains_upcase depends on puppet-lint v1, so puppet-lint HEAD no longer satisfies our dependencies. This patch pins the version of puppet-lint to the commit immediately before the v2.0.0 release, so we get the bug fix and satisfy puppet-lint_variable_contains_upcase's dependencies. Change-Id: I3eab1b883a3dc5ca5d02d4c71b97507d36d7f349 Closes-bug: #1597849
29 lines
948 B
Ruby
29 lines
948 B
Ruby
source 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
|
|
# FIXME: need to install puppet-lint gem from github.com because of
|
|
# https://github.com/rodjek/puppet-lint/issues/409
|
|
# We pin to the last commit before the release of v2.0.0, because
|
|
# puppet-lint_variable_contains_upcase depends on puppet-lint v1.x.
|
|
gem 'puppet-lint', :git => 'git://github.com/rodjek/puppet-lint.git', :ref => 'b04a35f'
|
|
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
|