Skip to content

Instantly share code, notes, and snippets.

@justinclayton
Created April 24, 2014 22:23
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 justinclayton/11271590 to your computer and use it in GitHub Desktop.
Save justinclayton/11271590 to your computer and use it in GitHub Desktop.
running puppet resource on a host not managed by puppet
$ puppet resource user justin
user { 'justin':
ensure => 'present',
comment => 'Justin Clayton',
gid => '20',
groups => ['_appserveradm', '_appserverusr', '_lpadmin', 'access_bpf', 'admin'],
home => '/Users/justin',
password => '*',
shell => '/bin/zsh',
uid => '501',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment