Skip to content

Commit

Permalink
Merge pull request #507 from apenney/fix-1404
Browse files Browse the repository at this point in the history
Improve this so it works on Ubuntu 14.04.
  • Loading branch information
mhaskel committed May 2, 2014
2 parents 467017a + 81a1a19 commit f70c81c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions spec/spec_helper_acceptance.rb
Expand Up @@ -2,16 +2,14 @@

UNSUPPORTED_PLATFORMS = [ 'Windows', 'Solaris', 'AIX' ]

unless ENV['RS_PROVISION'] == 'no'
unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
if hosts.first.is_pe?
install_pe
else
install_puppet
end
hosts.each do |host|
# Install Puppet
if host.is_pe?
install_pe
else
install_package host, 'rubygems'
on host, 'gem install puppet --no-ri --no-rdoc'
on host, "mkdir -p #{host['distmoduledir']}"
end
on hosts, "mkdir -p #{host['distmoduledir']}"
end
end

Expand Down

0 comments on commit f70c81c

Please sign in to comment.