Skip to content

Commit

Permalink
Merge pull request #108 from mhaskel/spec_helper_acceptance_fix
Browse files Browse the repository at this point in the history
More spec_helper_acceptance fixes
  • Loading branch information
cmurphy committed Dec 23, 2014
2 parents 6b10cea + 7f1bf8e commit d04c69e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/spec_helper_acceptance.rb
Expand Up @@ -37,7 +37,9 @@ def create_keys_for_test(host)
else
path = '${PATH}'
path = "/opt/csw/bin:#{path}" # Need ruby's path on solaris 10 (foss)
path = "/opt/puppet/bin:#{path}" # But try PE's ruby first
if host.is_pe?
path = "#{host['puppetbindir']}:#{path}" # But try PE's ruby first
end
cmd = "PATH=#{path} ruby -e"
temp_dir = '/tmp/'
end
Expand Down Expand Up @@ -113,7 +115,6 @@ def create_keys_for_test(host)
on host, apply_manifest(exec_puppet)
on host, puppet('module install cyberious-windows_java')
else
on host, puppet('module install puppetlabs-java')
on host, puppet('module', 'install', 'puppetlabs-java'), {:acceptable_exit_codes => [0, 1]}
end
end
Expand Down

0 comments on commit d04c69e

Please sign in to comment.