49354c402f
This patch is the initial modulesync run, it impacts: * gitignore: just a sync between projects * gemfile: - update and allow to setup facter version and gem source - split beaker gems with a dedicated group - switch to rspec-puppet 2.2.0 * rakefile: - use the new syntax for lint configuration - add a acceptance target * acceptance: - sync nodesets * spec: - added rspec coverage report - added shared_examples rspec helper Change-Id: I5b67825ea1c284d1e655e3b4017f79a9efd79d46
37 lines
1.3 KiB
Ruby
37 lines
1.3 KiB
Ruby
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
|
|
group :development, :test do
|
|
gem 'puppetlabs_spec_helper', :require => 'false'
|
|
gem 'rspec-puppet', '~> 2.2.0', :require => 'false'
|
|
gem 'metadata-json-lint', :require => 'false'
|
|
gem 'puppet-lint-param-docs', :require => 'false'
|
|
gem 'puppet-lint-absolute_classname-check', :require => 'false'
|
|
gem 'puppet-lint-absolute_template_path', :require => 'false'
|
|
gem 'puppet-lint-trailing_newline-check', :require => 'false'
|
|
gem 'puppet-lint-unquoted_string-check', :require => 'false'
|
|
gem 'puppet-lint-leading_zero-check', :require => 'false'
|
|
gem 'puppet-lint-variable_contains_upcase', :require => 'false'
|
|
gem 'puppet-lint-numericvariable', :require => 'false'
|
|
gem 'json', :require => 'false'
|
|
gem 'webmock', :require => 'false'
|
|
end
|
|
|
|
group :system_tests do
|
|
gem 'beaker-rspec', :require => 'false'
|
|
gem 'beaker-puppet_install_helper', :require => 'false'
|
|
end
|
|
|
|
if facterversion = ENV['FACTER_GEM_VERSION']
|
|
gem 'facter', facterversion, :require => false
|
|
else
|
|
gem 'facter', :require => false
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|