Created
February 1, 2013 16:30
-
-
Save jrmoserbaltimore/4692386 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node 'panera.example.com' { | |
$sudogroup = 'wheel' | |
user { 'baked': | |
name => 'Baked Pumpernickel', | |
uid => '1000', | |
gid => 'users', | |
groups => [ $sudogroup, 'puppet' ], | |
shell => '/bin/bash', | |
password => '$6$dJGfA238999hashthisstuff33deafcows7', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
define user_with_sudo( $uid => undef, ... ) {
$sudogroup = 'wheel'
user { $name: uid => $uid, ... }
}
create_resources("user_with_sudo", hiera("my_hash_with_users")