15fb00c9f7
This adds a basic test to run the standard 1 node setup until it succeeds. This also fixes a bug with the connection validation facilities. Before this patch we would keep retrying the connection to PuppetDB until the timeout expired, this patch fixes that bug making provisioning faster and well, more reliable. I've also increased the timeout as some systems take longer than 15 seconds for PuppetDB to start. Signed-off-by: Ken Barber <ken@bob.sh>
14 lines
336 B
Ruby
14 lines
336 B
Ruby
source 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'rake'
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'rspec-system-puppet', '~>0.3.1'
|
|
gem 'puppet-lint', '~> 0.3.2'
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|