Ticket #539 (closed enhancement: worksforme)

Opened 15 years ago

Last modified 14 years ago

negate package

Reported by: [email protected] Owned by: solj
Priority: minor Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-server Version:
Keywords: Cc:


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.


Change History

comment:1 Changed 14 years ago by solj

  • Owner changed from desai to solj
  • Milestone set to Bcfg2 0.9.6 Release

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:

$ bcfg2 -r packages

This should result in any unspecified packages being removed on the client.

comment:2 Changed 14 years ago by solj

  • Status changed from new to assigned

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).

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.