File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11require 'beaker-rspec/spec_helper'
22require 'beaker-rspec/helpers/serverspec'
3+ require 'beaker/puppet_installer_helper'
34
4- unless ENV [ 'RS_PROVISION' ] == 'no'
5- # This will install the latest available package on el and deb based
6- # systems fail on windows and osx, and install via gem on other *nixes
7- foss_opts = {
8- :default_action => 'gem_install' ,
9- :version => ( ENV [ 'PUPPET_VERSION' ] || '3.8.1' ) ,
10- }
11-
12- if default . is_pe? ; then
13- install_pe ;
14- else
15- install_puppet ( foss_opts ) ;
16- end
17-
18- hosts . each do |host |
19- if host [ 'platform' ] =~ /debian/
20- on host , 'echo \'export PATH=/var/lib/gems/1.8/bin/:${PATH}\' >> ~/.bashrc'
21- on host , "mkdir -p #{ host [ 'distmoduledir' ] } "
22- end
23- end
24- end
5+ run_puppet_install_helper
256
267RSpec . configure do |c |
278 # Project root
You can’t perform that action at this time.
0 commit comments