* Add gerrit configuration
* s/Puppetfile/Gemfile: puppetfile with this content is a mistake
* Fix puppet modulefile (stackforge migration)
* Add puppet-lint configuration like other puppet projects on stackforge
* Add Gemlock file
* And update gitingore
* Solve lint issues, and minors improvments
[lint issues]
* class not documented
* variable not enclosed in {}
* double quoted string containing no variables
* case statement without a default case
* indentation of => is not properly aligned
* soft and hard tabs
[improvments]
* Use a case instead of a if/if
Change-Id: I58614f7995e6b8f3f7f6426269077810962cc682
15 lines
299 B
Ruby
15 lines
299 B
Ruby
source 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'puppet-lint', '~> 0.3.2'
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|