Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created November 10, 2012 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottslowe/4050229 to your computer and use it in GitHub Desktop.
Save scottslowe/4050229 to your computer and use it in GitHub Desktop.
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