Make sure we handle PE properly.

This commit is contained in:
Ashley Penney 2014-02-19 19:52:05 +00:00
parent c9443f9e50
commit bafc11df76

View file

@ -1,10 +1,16 @@
require 'beaker-rspec'
hosts.each do |host|
# Install Puppet
install_package host, 'rubygems'
on host, 'gem install puppet --no-ri --no-rdoc'
on host, "mkdir -p #{host['distmoduledir']}"
unless ENV['RS_PROVISION'] == 'no'
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
end
end
RSpec.configure do |c|