-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Provider updated_by_last_action
return value
#168
Conversation
d60142e
to
b6c6a34
Compare
b6c6a34
to
9b641bd
Compare
1 similar comment
This commit does a lot more than update the action, it changes style as well. |
@miketheman are you asking me to change this PR now, or are you just commenting generally? |
I think I'm commenting in general. i've been working through a bunch of bug tickets here, and commenting on issues as I notice things. |
@phlipper Unfortunately this approach doesn't change the current behavior because A comment on the above issue recommends using Also, for reference, this email on the chef mailing list recommends running the embedded resource of the LWRP before evaluating @miketheman Any thoughts on this? |
@olivielpeau The current cookbook aims to support Chef 10, so a pattern used there is: use_inline_resources if defined?(use_inline_resources) This pattern dates back a while. So I think the final desire could be accomplished using the inline resources approach, as long as it's qualified. There's also this post on the approach. |
This PR uses the return value from the executed resource vs. hard-coding a
true
/false
return.