How to run puppet on a single server

How can I run puppet once on a machine?

Log into the server you want to run puppet on.  Run the following command to invoke the puppet catalog run.

/usr/sbin/puppetd –onetime –no-daemonize –logdest syslog > /dev/null 2>&1


“/usr/sbin/puppetd” runs the puppet process

“–onetime” ensures that it only runs once

“–no-daemonize” ensures that it runs as a script and not a daemon

“–logdest syslog > /dev/null” tells where to send the log information

“2>&1” sends the process to the background as it can take a long time

Posted in , and tagged , .

Leave a Reply

Your email address will not be published. Required fields are marked *