puppet resource

1 minute read Published:

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: puppet resource user 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: puppet resource user root You can do this for almost any type used in puppet.