From 988363ff195bcd5b7edd183e2fe388fee415be1f Mon Sep 17 00:00:00 2001 From: markuszilch Date: Fri, 2 Feb 2024 16:18:37 +0100 Subject: [PATCH] replace on host, puppet() function --- 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 bea7cf4..585e55b 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -6,7 +6,7 @@ install_puppet_module_via_pmt_on(host, 'puppetlabs-puppetserver_gem') unless ENV['BEAKER_provision'] == 'no' install_package(host, 'puppetserver') - on host, puppet('resource', 'service', 'puppetserver', 'ensure=running') + on host, 'puppet resource service puppetserver ensure=running' end end