We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 476c31a + 05370c2 commit e48b509Copy full SHA for e48b509
spec/spec_helper_acceptance.rb
@@ -3,16 +3,18 @@
3
4
5
unless ENV['RS_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 install_pe; else install_puppet( foss_opts ); end
11
12
hosts.each do |host|
13
if host['platform'] =~ /debian/
14
on host, 'echo \'export PATH=/var/lib/gems/1.8/bin/:${PATH}\' >> ~/.bashrc'
15
end
- if host.is_pe?
- install_pe
- else
- install_puppet
- on host, "mkdir -p #{host['distmoduledir']}"
- end
16
17
+ on host, "mkdir -p #{host['distmoduledir']}"
18
19
20
0 commit comments