Defined needed gems and set to install locally

This commit is contained in:
Gene Liverman 2017-05-06 11:49:14 -07:00
parent 41f564abd6
commit 015b3c20af
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
BUNDLE_JOBS: "3"
BUNDLE_PATH: "vendor/bundle"
BUNDLE_DISABLE_SHARED_GEMS: "true"

38
bin/puppet/Gemfile Normal file
View file

@ -0,0 +1,38 @@
# vim:ft=ruby
source 'https://rubygems.org'
if ENV.key?('PUPPET_VERSION')
puppetversion = "#{ENV['PUPPET_VERSION']}"
else
puppetversion = ['~> 4.0']
end
group :development, :unit_tests do
if RUBY_VERSION < '2.0'
gem 'json', '1.8.3'
gem 'json_pure', '1.8.3'
else
gem 'json', '>= 2.0.2'
gem 'json_pure', '>= 2.0.2'
end
gem 'metadata-json-lint', '~> 1.0'
gem 'puppet', puppetversion
gem 'puppetlabs_spec_helper', '~> 1.1'
gem 'rspec-puppet', '~> 2.5'
gem 'yamllint', '~> 0.0.9'
# puppet-lint and plugins
gem 'puppet-lint', '~> 1.1'
gem 'puppet-lint-absolute_classname-check', '~> 0.2'
gem 'puppet-lint-absolute_template_path', '~> 1.0'
gem 'puppet-lint-empty_string-check', '~> 0.2'
gem 'puppet-lint-leading_zero-check', '~> 0.1'
gem 'puppet-lint-resource_reference_syntax', '~> 1.0'
gem 'puppet-lint-spaceship_operator_without_tag-check', '~> 0.1'
gem 'puppet-lint-trailing_newline-check', '~> 1.0'
gem 'puppet-lint-undef_in_function-check', '~> 0.2'
gem 'puppet-lint-unquoted_string-check', '~> 0.3'
gem 'puppet-lint-variable_contains_upcase', '~> 1.1'
end