Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Don't pass options to ppa on lucid
[puppet-modules/puppetlabs-apt.git]
/
spec
/
spec_helper_acceptance.rb
diff --git
a/spec/spec_helper_acceptance.rb
b/spec/spec_helper_acceptance.rb
index 55c2fd4a4d957859893784cf723781278b55ba22..37afbfc1b750cd35c3eff86884f9c2d09e8eb005 100644
(file)
--- a/
spec/spec_helper_acceptance.rb
+++ b/
spec/spec_helper_acceptance.rb
@@
-1,18
+1,19
@@
require 'beaker-rspec'
require 'beaker-rspec'
+# Install Puppet
unless ENV['RS_PROVISION'] == 'no'
hosts.each do |host|
unless ENV['RS_PROVISION'] == 'no'
hosts.each do |host|
- # Install Puppet
if host.is_pe?
install_pe
else
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
on host, "mkdir -p #{host['distmoduledir']}"
end
end
end
+UNSUPPORTED_PLATFORMS = ['windows','aix','solaris',/el-(4|5|6)/]
+
RSpec.configure do |c|
# Project root
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
RSpec.configure do |c|
# Project root
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))