puppet resource

puppet resource

The other day while I was trying to get puppet up and running on a server, I found that you can use “puppet resource” to automatically generate puppet manifest code. If you type: It’ll show you the puppet configuration for all of the user’s on your system. You can also specify a specific user, like this: You can do this for almost any type used in puppet. or You can easily save your system’s package list and deploy it quickly if the server fails, or if you just want to make a clone for staging.