Modify

Ticket #1136 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Overrides for Defaults plugin not functioning when using Rules

Reported by: casso <m.cassaniti@…> Owned by: desai
Priority: minor Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Defaults Rules Cc:

Description

When a default value is specified via the Defaults plugin, it is not being overridden within a Rules specification. It is being overridden by a Bound... specification in a bundle.

For example, if Defaults/packages.xml is:
<Defaults priority='0'>
<Package name='.*' version='auto' type='ebuild'/>
</Defaults>

and if Rules/specific-versions.xml is:
<Rules priority='0'>
<Package name='dev-python/django' version='1.3.2'/>
</Rules>

The resulting Package tag is: <Package name='dev-python/django' type='ebuild' version='auto'/>

If this is instead performed as a BoundPackage entry the version becomes 1.3.2 as expected.

Attachments

Change History

comment:1 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:2 Changed 9 years ago by casso <m.cassaniti@…>

Thank you for resolving this.

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.