From: Justin Stoller Date: Mon, 29 Sep 2014 19:16:10 +0000 (-0700) Subject: (FM-1923) Fix spec_helper_acceptance to run against PE X-Git-Tag: 1.3.0~1^2~13^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b79c277d4d499c903974cfd0b7fd4f9f689b0cfc;p=puppet-modules%2Fpuppetlabs-firewall.git (FM-1923) Fix spec_helper_acceptance to run against PE --- 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