From fdab18c0096c5bc27e099e51d45575af123ebc57 Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Fri, 10 Sep 2021 14:10:28 +0200 Subject: [PATCH] Try another method to call puppet agent bash profile --- foreman/altinea_puppet_install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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