-
Notifications
You must be signed in to change notification settings - Fork 29
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
Expose delete
as a direct dsc resource operation
#290
Comments
I'm not sure about this - it does move a little bit away from the underlying state management model of an instance + properties - if you have It seems like the sort of thing I might expect a higher order tool to implement, rather than a resource or DSC itself. |
@michaeltlombardi the idea is that this can simplify resource authoring as you can have clear separation of |
We should allow resources to implement |
Discussed with @mgreenegit and we agreed to move forward with this proposal |
Summary of the new feature / enhancement
It may be simpler for DSC resource implementations to implement
delete
rather than have logic as part ofset
to handle_exist
. We can still support_exist
as a special keyword in configuration wheredsc
knows to calldelete
if implemented.PowerShell resources already implement
ensure
differently, so that won't change either way.Proposed technical implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: