Modify

Ticket #459 (closed enhancement: wontfix)

Opened 16 years ago

Last modified 16 years ago

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

comment:1 Changed 16 years ago by dclark

  • Type changed from defect to enhancement

comment:2 Changed 16 years ago by dclark

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

Desai convinced me that external generators for files are the way to go here.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.