Ask Your Question
0

How to remote install agent with ensure => 'stopped' and enable => 'false'

asked 2014-12-17 15:56:26 -0500

Pindish gravatar image

Per the instructions given here, agent installation can be customized with configuration parameters.

We need to have pe-puppet installed with both ensure => 'stopped' and enable => false. That is, just install the agent, do not activate it. What parameters should we pass in to install.bash?

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-12-17 21:33:06 -0500

GregLarkin gravatar image

The command-line configuration parameters that you refer to can only manage entries in the puppet.conf file and can't control the activation or deactivation of the Puppet agent service.

However, if you are building a script to perform the agent installation, you could add the following line immediately after installation to disable the service and stop it:

/opt/puppet/bin/puppet resource service pe-puppet ensure=stopped enable=false
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-17 15:56:26 -0500

Seen: 88 times

Last updated: Dec 17 '14