Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Reload ohai passwd after user creation #35

promisedlandt opened this Issue · 1 comment

2 participants


In my opinion, after a user was created, ohai should be notified to reload passwd data, so ohai attributes for that user can be used in other recipes.

I'm not sure whether this should be added to the user creation itself as described here or at the end of the users::databag recipe (so creating 100 users would only trigger 1 reload).


I've been having issues with this as well. However, through research I've discovered it appears that Ohai attributes are constants set at the beginning of the run, and running an Ohai reload will simply fill in any missing values from plugins that were loaded after the initial run. So I'm not sure if it's possible to reload them during the same run, even though the second example in the docs shows just that.

@chulkilee chulkilee referenced this issue in RiotGamesCookbooks/rbenv-cookbook

node[:languages][:ruby] is not updated #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.