Modify

Ticket #751 (closed defect: worksforme)

Opened 11 years ago

Last modified 11 years ago

Action when'always' are executed even with a -b flag

Reported by: somekool <somekool@…> Owned by: desai
Priority: critical Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-client Version: 0.9.x
Keywords: Cc:

Description

lets say I have two bundles, [ bundle1, bundle2 ]

bundle1 contains an action with when='always'

I do

bcfg2 -I -b bundle2

I will be prompt for that action.

I believe this is a bug.

Attachments

Change History

comment:1 Changed 11 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 11 years ago by somekool <somekool@…>

  • Priority changed from major to critical
  • Status changed from closed to reopened
  • Resolution fixed deleted

i just tried this patch and it does not work as expected.

if the bundle is defined in SGenshi and the user call bcfg2 client with -b arguments, no action will be executed. even if the action is member of the SGenshi bundle...

comment:3 Changed 11 years ago by somekool <somekool@…>

right, this has nothing to do with SGenshi or bundle

Action are simply no longer call when using

/usr/sbin/bcfg2 -I -b bundlename

Action in this bundlename will not be called.

because of this patch

unless something else is required?

comment:4 Changed 11 years ago by somekool <somekool@…>

comment:5 Changed 11 years ago by solj

  • Status changed from reopened to closed
  • Resolution set to worksforme

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.