How Do You Troubleshoot the Error “Failed to restart puppetserver.service: Unit puppetserver.service not found.”?

Problem scenario
You try this command from the Puppet Master server:

service puppetserver restart

But you get this error:

"Failed to restart puppetserver.service: Unit puppetserver.service not found."

What should you do?

Solution
Do not use "puppetserver" in the command.  The correct command is:

service puppetmaster restart

Leave a comment

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