Browse Source

Try another method to call puppet agent bash profile

pull/1/head
Julien Escario 3 years ago
parent
commit
fdab18c009
  1. 3
      foreman/altinea_puppet_install.sh

3
foreman/altinea_puppet_install.sh

@ -20,5 +20,4 @@ echo "[agent]
listen = false listen = false
pluginsync = true pluginsync = true
report = true"> /etc/puppetlabs/puppet/puppet.conf 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
Loading…
Cancel
Save