Skip to content

Instantly share code, notes, and snippets.

@grahamgilbert
Created May 15, 2012 18:46
Show Gist options
  • Select an option

  • Save grahamgilbert/2704101 to your computer and use it in GitHub Desktop.

Select an option

Save grahamgilbert/2704101 to your computer and use it in GitHub Desktop.
Tech support user
user { 'techsupport':
ensure => 'present',
groups => 'admin',
comment => 'Tech Support',
gid => '20',
home => '/Users/techsupport',
password => $password,
shell => '/bin/bash',
uid => '404',
}
@glarizza

Copy link
Copy Markdown

Hmm, it must have cut you off at the end - is there more to that?

Also, what's the output of:

sudo puppet resource user {put standard user username here}

@grahamgilbert

Copy link
Copy Markdown
Author

Sorry, here's a link to the full output

http://cl.ly/2n132k22090c421y233k

When running sudo puppet resource user techsupport I get:

user { 'techsupport':
ensure => 'present',
comment => 'Tech Support',
gid => '20',
home => '/Users/techsupport',
password => 'password hash',
shell => '/bin/bash',
uid => '404',
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment