Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Sample user definition using virtual user resource
# Used to define/realize users on Puppet-managed systems
#
class accounts {
@accounts::virtual { 'johndoe':
uid => 1001,
realname => 'John Doe',
pass => '<password hash goes here>',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment