Modify ↓
Ticket #459 (closed enhancement: wontfix)
Extend XInclude support to all XML files
Reported by: | dclark | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 0.9.5 Release |
Component: | bcfg2-client | Version: | |
Keywords: | Cc: |
Description
XInclude should be supported in all Bcfg2 XML files, not just Metadata (Clients, Groups) but also in the Abstract Configuration/Structures? (Base, Bundles) and the Literal Configuration/Generators? (Pkgmgr et al).
Specific use case where I would find this very useful is Pkgmgr - I have large number of locally-compiled encaps, all of which are at the same version, and the same set of which should go on each platform. So it would be really useful to have one file like this bit:
site-encaps.txt
<Package name='bcfg2' version='0.9.4e'/> <Package name='bcfg2-elementtree' version='1.2.6'/> <Package name='bcfg2-m2crypto' version='0.17'/> <Package name='bcfg2-openssl' version='0.9.8e'/> <Package name='bcfg2-python' version='2.4.4'/> <Package name='ostiary' version='3.4'/> <Package name='runit' version='1.7.2'/>
And then a bunch of files like this, differing only with the platform-specific information:
site-encaps-aix52-rs6000.xml
<PackageList uri='http://nasa.notesdev.ibm.com/encaps/aix52' type='encap' priority='0'> <Group name='AIX'> <Group name='5.2'> <xi:include href="site-encaps.txt" /> </Group> </Group> </PackageList>
This was implemented for Metadata in r2631, r2652, r2680 and r2682
Attachments
Change History
Note: See
TracTickets for help on using
tickets.