Modify ↓
Ticket #594 (closed defect: fixed)
Subclassed Metadata plugins: broken probes
Reported by: | John Morris <[email protected]…> | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 0.9.6 Release |
Component: | bcfg2-client | Version: | 0.9.x |
Keywords: | Cc: |
Description
In Metadata.ProbeSet?.get_probe_data, the probe 'source' is hardcoded to 'Metadata'. This causes problems when a subclassed Metadata package, with a different name and thus a different directory in /var/lib/bcfg2, runs.
The attached patch fixes this by passing the Metadata class's name to get_probe_data as an argument.
Attachments
Change History
Changed 14 years ago by John Morris <[email protected]…>
- Attachment metadata.fixprobes.patch added
Changed 14 years ago by John Morris <[email protected]…>
- Attachment metadata.fixprobes.2.patch added
comment:1 Changed 14 years ago by John Morris <[email protected]…>
Oops, first attached patch didn't work out, see the second.
comment:2 Changed 14 years ago by desai
- Status changed from new to closed
- Resolution set to fixed
Fixed in [e522198525002564cc78f8b22e198c7458a81819] (SVN r4879) with a slightly different patch
Note: See
TracTickets for help on using
tickets.
Patch to fix subclassed Metadata probes