005f06f3dd
Beaker together with docker is a very fast way to do acceptance testing. This commit adds basic beaker/docker support: - Add a debian jessie nodeset - Test if the module applies idempotentially, so it doesn't change resources on a second run with the same parameters. https://github.com/puppetlabs/beaker/blob/master/docs/Docker-Support.md
20 lines
644 B
Ruby
20 lines
644 B
Ruby
source "https://rubygems.org"
|
|
|
|
group :test do
|
|
gem "rake"
|
|
gem "rspec", '< 3.2.0'
|
|
gem "puppet", ENV['PUPPET_VERSION'] || ENV['GEM_PUPPET_VERSION'] || ENV['PUPPET_GEM_VERSION'] || '~> 3.7.0'
|
|
gem "facter", ENV['FACTER_VERSION'] || ENV['GEM_FACTER_VERSION'] || ENV['FACTER_GEM_VERSION'] || '~> 2.2.0'
|
|
gem "rspec-puppet"
|
|
gem "puppetlabs_spec_helper"
|
|
gem "metadata-json-lint"
|
|
gem "rspec-puppet-facts"
|
|
gem "mocha"
|
|
end
|
|
|
|
group :system_tests do
|
|
gem 'beaker', :require => false
|
|
gem 'beaker-rspec', :require => false
|
|
gem 'beaker_spec_helper', :require => false
|
|
gem 'serverspec', :require => false
|
|
end
|