Skip to content

Instantly share code, notes, and snippets.

@KyFaSt
Created February 20, 2015 15:22
Show Gist options
  • Save KyFaSt/dabea61e603600364b25 to your computer and use it in GitHub Desktop.
Save KyFaSt/dabea61e603600364b25 to your computer and use it in GitHub Desktop.
#
# Cookbook Name:: users
# Recipe:: default
#
# Copyright 2015, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
search("users", "*:*").each do |user_data|
user user_data["id"] do
comment user_data["comment"]
uid user_data["uid"]
gid user_data["gid"]
home user_data["home"]
shell user_data["shell"]
end
end
include_recipe "users::groups"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment