Modify

Ticket #664 (closed defect: fixed)

Opened 12 years ago

Last modified 9 years ago

Group tag selection are ignored in the Decision plugin

Reported by: somekool <somekool@…> Owned by: desai
Priority: major Milestone: Bcfg2 1.4.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc: somekool@…

Description (last modified by desai) (diff)

[root@nlsmis1002 bcfg2]# cat Decisions/whitelist
<Decisions>
        <Group name='datacenter-vi' negate='true'>
                <Group name='env-sm' negate='true'>
                        <Group name='role-is' negate='true'>
                                <Decision type='ConfigFile' name='/etc/bcfg2.conf'/>
                        </Group>
                </Group>
        </Group>
        <Group name='foobar-unreal'>
                                <Decision type='ConfigFile' name='/etc/issue'/>
        </Group>
</Decisions>
[root@nlsmis1002 bcfg2]#

these whitelist items apply everywhere, no matter what group I put in there

0.9.6 (stable)

Attachments

Change History

comment:1 Changed 12 years ago by somekool <somekool@…>

  • Cc somekool@… added

comment:2 Changed 12 years ago by desai

  • Description modified (diff)
  • Milestone changed from Bcfg2 1.0.0 Release to Bcfg2 1.0.1 Release

Negation is a case that we didn't think about in the current design. We'll look at this for 1.0.1

comment:3 Changed 12 years ago by somekool@…

this is not about negation

any grouping in whitelist/blacklist is ignored

comment:4 Changed 12 years ago by solj

  • Milestone changed from Bcfg2 1.0.1 Release to Bcfg2 1.1.0 Release

Retargetting for 1.1.0.

comment:5 Changed 11 years ago by solj

  • Milestone changed from Bcfg2 1.1.0 Release to Bcfg2 1.2.0 Release

comment:6 Changed 10 years ago by solj

  • Version changed from 0.9.x to 1.0
  • Milestone changed from Bcfg2 1.2.0 Release to Bcfg2 1.3.0 Release

Some of this can be accomplished via the .G constructs, however, you're still limited to single groups. If you want to mix and match groups, you still can't do it. Moving to 1.3.

comment:7 Changed 9 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc

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

comment:8 Changed 9 years ago by solj

  • Milestone changed from Bcfg2 1.3.0 Release to Bcfg2 1.4.0 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.