X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fspec_helper_acceptance.rb;h=3352564ce7b553672fab7dafa8f277af232a065f;hb=60e50a9b65dec94fe20734404295e28d9e434a83;hp=55c2fd4a4d957859893784cf723781278b55ba22;hpb=bafc11df7692e73cf4d017c68094a5053a92ae9c;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 55c2fd4..3352564 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -1,18 +1,19 @@ require 'beaker-rspec' +# Install Puppet 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' + install_puppet on host, "mkdir -p #{host['distmoduledir']}" end end end +UNSUPPORTED_PLATFORMS = ['RedHat','Suse','windows','AIX','Solaris'] + RSpec.configure do |c| # Project root proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))