Merge branch '1.6.x' into test
[puppet-modules/puppetlabs-apt.git] / spec / spec_helper_acceptance.rb
index 6627cf764be0980320f27ed56142c86769f8586e..fd1f2c56b9c0167498523d675a46a1ec433dcdd4 100644 (file)
@@ -27,7 +27,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