Modify ↓
Ticket #539 (closed enhancement: worksforme)
negate package
Reported by: | [email protected]… | Owned by: | solj |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.0.0 Release |
Component: | bcfg2-server | Version: | |
Keywords: | Cc: |
Description
I think it would be useful to be able to negate a package or specify that a package should be uninstalled(possibly purged with apt-get).
At the moment, I am using actions and dynamic groups to do this. The only problem is that the actions are run every time I run bcfg2.
Attachments
Change History
comment:1 Changed 14 years ago by solj
- Owner changed from desai to solj
- Milestone set to Bcfg2 0.9.6 Release
comment:3 Changed 14 years ago by solj
- Milestone changed from Bcfg2 0.9.6 Release to Bcfg2 1.0 Release
comment:4 Changed 14 years ago by solj
- Status changed from assigned to closed
- Resolution set to worksforme
Right now, the package removal specifications are not explicit. However, because Bcfg2 has an inventory of all installed packages, the behavior is correct. ConfigFiles? are another story (since Bcfg2 doesn't yet have an inventory list of those).
Note: See
TracTickets for help on using
tickets.
You should be able to do this using the -r option on the client. For example, assuming you only want to remove unspecified packages, you would run the client with:
This should result in any unspecified packages being removed on the client.