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