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' 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|