From 442ca3087077434c9f96376b9b3e289966392839 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Tue, 12 Aug 2014 16:10:36 -0400 Subject: [PATCH] Don't hardcode /etc/puppet as the puppetpath. --- spec/spec_helper_acceptance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 3352564..fe3e4bf 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -26,7 +26,7 @@ RSpec.configure do |c| # Install module and dependencies puppet_module_install(:source => proj_root, :module_name => 'apt') hosts.each do |host| - shell('/bin/touch /etc/puppet/hiera.yaml') + shell("/bin/touch #{default['puppetpath']}/hiera.yaml") shell('puppet module install puppetlabs-stdlib --version 2.2.1', { :acceptable_exit_codes => [0,1] }) end end -- 2.45.2