Modify

Ticket #414 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

bcfg2 -I doesn't run Actions

Reported by: naapuri Owned by: desai
Priority: major Milestone: Bcfg2 0.9.3 Release
Component: bcfg2-client Version:
Keywords: Cc:

Description

When running the client with -I, <Action .../> tags seem to be ignored.

Attachments

frame.diff (1.7 KB) - added by desai 15 years ago.
actions.diff (5.7 KB) - added by desai 15 years ago.

Change History

Changed 15 years ago by desai

comment:1 Changed 15 years ago by desai

  • Status changed from new to assigned

I think that the attached patch should do the trick. It will, in interactive mode:

  • Run all when=always actions
  • Run appropriate when=modified actions
  • Force entry blacklisting based on failing postinstalls

comment:2 Changed 15 years ago by naapuri

Interactive mode should ask the user before carrying out any action! Now, with this patch, the actions are run without asking.

comment:3 Changed 15 years ago by desai

Try reverting the previous patch (frame) and applying the new one (actions). This will make actions interactive in -I mode, and provides a better decision process for determining which entries can be modified. (This will allow the use of -b and -I together, for example.)

Changed 15 years ago by desai

comment:4 Changed 15 years ago by desai

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone set to Bcfg2 0.9.3 Release

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

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.