Ticket #1136 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Overrides for Defaults plugin not functioning when using Rules

Reported by: casso <[email protected]…> Owned by: desai
Priority: minor Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Defaults Rules Cc:


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'/>

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

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.


Change History

comment:1 Changed 10 years ago by

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

comment:2 Changed 10 years ago by casso <[email protected]…>

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.


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.