Created
June 23, 2016 20:40
-
-
Save NickRycar/4d51455079e6eb200fb8c9ddc73cf118 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| | |
user_item = data_bag_item('users', user) | |
user user_item['id'] do | |
uid user_item['uid'] | |
home user_item['home'] | |
manage_home true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment