Ticket #299 (closed enhancement: fixed)
bcfg2 should warn in case of duplicate entries
Reported by: | naapuri | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 0.9.0 Release |
Component: | bcfg2-client | Version: | |
Keywords: | Cc: |
Description
The bcfg client (or maybe server?) should give a warning if there are duplicate entries. From my experience, this happens if one creates a Bundle and then forgets to remove a ConfigFile? or Package from outside the bundle. Without a warning like this, it might be hard for the user to find the error. (The actual error seen by the user might be eg. that debsums still says "Package foo failed validation. Bad files are: ...".)
Some duplicates might be hard or even logically impossible to find due to inheritance/priorities, but any progress on this subject would be good. There are trivial cases where the bcfg2 client actually prints the entries multiple times:
In dryrun mode: suppressing entry installation for: ConfigFile:/etc/mysql/my.cnf ConfigFile:/etc/mysql/my.cnf
At least these should be easy to catch.
Attachments
Change History
comment:2 Changed 16 years ago by desai
- Status changed from new to closed
- Resolution set to fixed
Resolved in [23850fbb759c114f3a4d3f43facb82366a7e94fc] (SVN r2639)