Skip to content

Commit

Permalink
(HC-94) Install hocon gem via puppet
Browse files Browse the repository at this point in the history
Prior to this commit, the acceptance tests installed the gem via
'gem install'. However 'gem install' is not always available on the
boxes where tests are being run, so install via Puppet instead.
  • Loading branch information
HAIL9000 committed Nov 2, 2016
1 parent c86d012 commit 9a55927
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
unless ENV['RS_PROVISION'] == 'no'
run_puppet_install_helper
hosts.each do |host|
if host[:type] == 'aio'
on host, "#{host['privatebindir']}/gem install hocon"
else
on host, "gem install hocon"
end
on host, puppet('resource package hocon provider=puppet_gem')
end
end

Expand Down

0 comments on commit 9a55927

Please sign in to comment.