Managing Users and Files
Managing User Accounts with Puppet
In many scenarios, you’ll need to create and manage user accounts on servers. Puppet provides a user resource that simplifies this process.
Creating a User: Let’s create a user named deploy with a home directory and a specific shell. Add the following to your site.pp manifest:
user { 'deploy':
ensure => present,
m…
Keep reading with a 7-day free trial
Subscribe to Pods & Pixels to keep reading this post and get 7 days of free access to the full post archives.