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

Support removing files #69

Open
rcrowley opened this issue Jul 9, 2011 · 3 comments
Open

Support removing files #69

rcrowley opened this issue Jul 9, 2011 · 3 comments
Labels

Comments

@rcrowley
Copy link
Member

rcrowley commented Jul 9, 2011

This one will be hard but the use cases are as follows:

The user installs apache2 from APT and removes /etc/apache2/sites-enabled/000-default. Blueprint should be able to recognize that this file from the package is missing and propagate that change.

The user removes a file that appears in a previous revision of a blueprint. Blueprint should be able to remove that file when the new head revision is applied.

@knoopx
Copy link

knoopx commented Oct 5, 2011

I definitely agree.

@silid
Copy link

silid commented Jan 16, 2012

+1

@jallum
Copy link

jallum commented Jun 13, 2012

detecting the condition aside... how about, in the "files" section, a "remove" (instead of an info dictionary) to indicate that i'd like to have blueprint remove the named file? so, to delete "/etc/nginx/sites-available/default" you'd have something like this:

"files": {
"/etc/nginx/sites-available/default": "remove"
.
.
.
}

thoughts?

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

No branches or pull requests

4 participants