Make sure we handle PE properly.
This commit is contained in:
parent
c9443f9e50
commit
bafc11df76
1 changed files with 11 additions and 5 deletions
|
@ -1,10 +1,16 @@
|
||||||
require 'beaker-rspec'
|
require 'beaker-rspec'
|
||||||
|
|
||||||
hosts.each do |host|
|
unless ENV['RS_PROVISION'] == 'no'
|
||||||
# Install Puppet
|
hosts.each do |host|
|
||||||
install_package host, 'rubygems'
|
# Install Puppet
|
||||||
on host, 'gem install puppet --no-ri --no-rdoc'
|
if host.is_pe?
|
||||||
on host, "mkdir -p #{host['distmoduledir']}"
|
install_pe
|
||||||
|
else
|
||||||
|
install_package host, 'rubygems'
|
||||||
|
on host, 'gem install puppet --no-ri --no-rdoc'
|
||||||
|
on host, "mkdir -p #{host['distmoduledir']}"
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
RSpec.configure do |c|
|
RSpec.configure do |c|
|
||||||
|
|
Loading…
Reference in a new issue