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