Fix this so it installs PE appropriately.

This commit is contained in:
Ashley Penney 2014-02-12 19:27:24 -05:00
parent 12ef27bc72
commit a38e37546a

View file

@ -1,11 +1,17 @@
require 'beaker-rspec'
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|
# Project root