diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 585e55b..ed20237 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -26,7 +26,7 @@ def wait_for_puppetserver(host, max_retries) def make_site_pp(host, pp, path) on host, "mkdir -p #{path}" create_remote_file(host, File.join(path, 'site.pp'), pp) - on host, "chown -R #{puppet_user(host)}:#{puppet_group(host)} #{path}" + on host, "chown -R root:root #{path}" on host, "chmod -R 0755 #{path}" on host, 'service puppetserver restart' wait_for_puppetserver(host, 3)