diff --git a/foreman/altinea_puppet_install.sh b/foreman/altinea_puppet_install.sh index f115112..0053d10 100644 --- a/foreman/altinea_puppet_install.sh +++ b/foreman/altinea_puppet_install.sh @@ -20,5 +20,4 @@ echo "[agent] listen = false pluginsync = true report = true"> /etc/puppetlabs/puppet/puppet.conf -/opt/puppetlabs/bin/puppet resource service puppet ensure=running enable=true -. /etc/profile.d/puppet-agent.sh +/opt/puppetlabs/bin/puppet resource service puppet ensure=running enable=true && source /etc/profile.d/puppet-agent.sh