File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ group :system_tests do
2828 gem 'beaker-rspec' , :require => false
2929 end
3030 gem 'serverspec' , :require => false
31+ gem 'beaker-puppet_install_helper' , :require => false
3132end
3233
3334
Original file line number Diff line number Diff line change 11require 'beaker-rspec/spec_helper'
22require 'beaker-rspec/helpers/serverspec'
33require 'acceptance/specinfra_stubs'
4+ require 'beaker/puppet_install_helper'
45
5- unless ENV [ 'RS_PROVISION' ] == 'no' or ENV [ 'BEAKER_provision' ] == 'no'
6- # This will install the latest available package on el and deb based
7- # systems fail on windows and osx, and install via gem on other *nixes
8- foss_opts = { :default_action => 'gem_install' }
9-
10- if default . is_pe? ; then
11- install_pe ;
12- else
13- install_puppet ( foss_opts ) ;
14- end
6+ run_puppet_install_helper
157
8+ unless ENV [ 'RS_PROVISION' ] == 'no' or ENV [ 'BEAKER_provision' ] == 'no'
169 hosts . each do |host |
17- on hosts , "mkdir -p #{ host [ 'distmoduledir' ] } "
1810 if host [ 'platform' ] =~ /sles-1/i || host [ 'platform' ] =~ /solaris-1/i
1911 get_stdlib = <<-EOS
2012 package{'wget':}
You can’t perform that action at this time.
0 commit comments