Created
October 9, 2011 14:35
-
-
Save bryanwb/1273758 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
data_bag('users').each do |user_name| | |
u = data_bag_item('users', user_name) | |
user user_name do | |
username user_name | |
password u['password'] | |
shell u['shell'] | |
supports :manage_home => u['manage_home'] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment