Created
November 5, 2009 19:14
-
-
Save anonymous/227303 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| users Mash.new unless attribute?("users") | |
| groups Mash.new unless attribute?("groups") | |
| ssh_keys Mash.new unless attribute?("ssh_keys") | |
| roles Mash.new unless attribute?("roles") | |
| groups[:admin] = {:gid => 113} | |
| roles[:chef] = {:groups => [:admin], :sudo_groups => [:admin]} | |
| roles[:staff] = {:groups => [:admin], :sudo_groups => [:admin]} | |
| users[:username] = {:password => "crypt", :comment => "First Last", :uid => 2005, :group => :admin} | |
| ssh_keys[:username] = "ssh-rsa keydata" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment