Skip to content

Instantly share code, notes, and snippets.

@jsierles
Created February 5, 2009 14:04
Show Gist options
  • Save jsierles/58722 to your computer and use it in GitHub Desktop.
Save jsierles/58722 to your computer and use it in GitHub Desktop.
node[:groups].each do |g|
group g[:name] do
gid g[:gid]
end
end
node[:users].each do |u|
user u[:name] do
comment u[:comment]
uid u[:uid]
gid u[:gid]
shell "bin/bash"
password u[:password]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment