Skip to content

Instantly share code, notes, and snippets.

@initcron
Created April 7, 2014 03:49
Show Gist options
  • Save initcron/10014573 to your computer and use it in GitHub Desktop.
Save initcron/10014573 to your computer and use it in GitHub Desktop.
admins.rb
mark = data_bag_item('admins','mark')
user mark['id'] do
comment mark[node.chef_environment]['comment']
uid mark[node.chef_environment]['uid']
gid mark[node.chef_environment]['gid']
home mark[node.chef_environment]['home']
shell mark[node.chef_environment]['shell']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment