Modify ↓
Ticket #1136 (closed defect: fixed)
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: |
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 10 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 10 years ago by casso <[email protected]…>
Thank you for resolving this.
Note: See
TracTickets for help on using
tickets.
Fixed in https://github.com/Bcfg2/bcfg2/commit/7241066deea16a9ebba718d7ecd157891e23cf33