From 9a559275c5d9be691571156c45437b18c7c079dc Mon Sep 17 00:00:00 2001 From: Hailee Kenney Date: Wed, 2 Nov 2016 13:27:44 +0000 Subject: [PATCH] (HC-94) Install hocon gem via puppet 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. --- spec/spec_helper_acceptance.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 0a25315..b801535 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -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