Ubuntu – How to set puppet on the agent to start on reboots

puppetUbuntu

I'm on ubuntu, is this the correct way to get puppet to start on reboots?

update-rc.d puppet default

If yes, where can I see the result of that command? Does it update a file that gets called on reboots?

Is this the same process for both the puppet master server and the puppet agent servers?

Update
Just in case the puppet agent already runs after reboots using the default installs on ubuntu using:

sudo apt-get puppet facter

How can I know if is already setup to start on reboots?

Best Answer

The puppet agent package doesn't set itself to start at boot by default, so that you have a chance to configure it as needed before it starts doing its thing (and potentially making massive changes to the system). It warns about this when you try to start the service.

Modify /etc/default/puppet, changing START=no to START=yes, then start the service with service puppet start.

The puppetmaster package should be starting at boot automatically as soon as it's installed.

Related Topic