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

Remove ZIP-Deployed data entirely when no longer needed #32

Open
MarkusPalcer opened this issue Apr 12, 2018 · 0 comments
Open

Remove ZIP-Deployed data entirely when no longer needed #32

MarkusPalcer opened this issue Apr 12, 2018 · 0 comments
Assignees

Comments

@MarkusPalcer
Copy link
Member

When a package deployed by ZIP-Deployment is no longer needed, it is not removed when you remove the entry from the JSON-File. This is understandable and expected.

However there is no way to tell the windev-cookbok in its JSON-Configuration file that a package (and thus the folder it should be extracted to) is to be removed. Currently I'm working around this by supplying a nearly empty ZIP (an empty ZIP generates an error, so there needs to be a file in the ZIP), but I would like to specify that the package should not be installed at all.

The most logical way would be to specify that "no version" should be installed - so setting the target version to nil will cause the entry to remove the extraction folder if it is present.

I will add this feature to the ZIP-Packaging only as I don't know if and how to specify that chef should uninstall a Windows-Installer package...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant