From b79c277d4d499c903974cfd0b7fd4f9f689b0cfc Mon Sep 17 00:00:00 2001 From: Justin Stoller Date: Mon, 29 Sep 2014 12:16:10 -0700 Subject: [PATCH] (FM-1923) Fix spec_helper_acceptance to run against PE --- spec/spec_helper_acceptance.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 0150eaa..7186774 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -38,8 +38,8 @@ RSpec.configure do |c| # Install module and dependencies hosts.each do |host| copy_module_to(host, :source => proj_root, :module_name => 'firewall') - shell('/bin/touch /etc/puppet/hiera.yaml') - shell('puppet module install puppetlabs-stdlib --version 3.2.0', { :acceptable_exit_codes => [0,1] }) + on(host, "/bin/touch #{host['hieraconf']}") + on(host, 'puppet module install puppetlabs-stdlib --version 3.2.0', { :acceptable_exit_codes => [0,1] }) end end end -- 2.45.2