Skip to content
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

(MODULES-7179) Change created to invoked #59

Conversation

RandomNoun7
Copy link
Contributor

This commit changes the message that Puppet returns when dsc_lite
resources are run from "created" to "invoked". This is because at the
moment, when we invoke a dsc_lite resource, Puppet does not know if the
resource we want to manage has actually been created, or if in reality
it has simply been modified, or even deleted. Changing to invoked is
more ambiguous, but accurately reflects the idea that we don't truly
know what operation dsc has accomplished for us.

@RandomNoun7 RandomNoun7 force-pushed the tickets/master/MODULES-7179-change-created-to-invoked branch 2 times, most recently from 327fe57 to 60bb7ec Compare July 3, 2018 19:50
@RandomNoun7 RandomNoun7 changed the title (WIP)(MODULES-7179) Change created to invoked (MODULES-7179) Change created to invoked Jul 3, 2018
@RandomNoun7
Copy link
Contributor Author

@ThoughtCrhyme I think changing the verbage in those two tests will be fine as far as testing the change in this PR, just because if someone does revert to returning 'changed', these tests will definitely fail, and there aren't really any additional useful code paths to worry about.

ThoughtCrhyme
ThoughtCrhyme previously approved these changes Jul 3, 2018
This commit changes the message that Puppet returns when dsc_lite
resources are run from "created" to "invoked". This is because at the
moment, when we invoke a dsc_lite resource, Puppet does not know if the
resource we want to manage has actually been created, or if in reality
it has simply been modified, or even deleted. Changing to invoked is
more ambiguous, but accurately reflects the idea that we don't truly
know what operation dsc has accomplished for us.
@RandomNoun7 RandomNoun7 force-pushed the tickets/master/MODULES-7179-change-created-to-invoked branch from 60bb7ec to 75e0fce Compare July 5, 2018 20:50
@ThoughtCrhyme ThoughtCrhyme merged commit 70d503d into puppetlabs:master Jul 5, 2018
@RandomNoun7 RandomNoun7 deleted the tickets/master/MODULES-7179-change-created-to-invoked branch July 6, 2018 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants