Modify

Ticket #612 (closed defect: wontfix)

Opened 14 years ago

Last modified 14 years ago

bcfg2-repo-validate -v complains if a bundle is in SGenshi instead of Bundler

Reported by: dclark Owned by: desai
Priority: trivial Milestone: Bcfg2 0.9.6 Release
Component: bcfg2-server Version:
Keywords: Cc:

Description

[email protected]:/var/lib/bcfg2# bcfg2-repo-validate -v
/var/lib/bcfg2/Metadata/clients.xml checks out
/var/lib/bcfg2/Metadata/groups.xml checks out

*** Warning: Bundle /var/lib/bcfg2/Bundler/bundle-bcfg2-server.xml referenced, but does not exist.

[email protected]:/var/lib/bcfg2# cat SGenshi/bundle-bcfg2-server.xml
<Bundle name='bundle-bcfg2-server'>
    <ConfigFile name='/var/lib/bcfg2/Metadata/clients.xml'/>
</Bundle>

Attachments

Change History

comment:1 Changed 14 years ago by solj

According to the SGenshi? docs, all files in the SGenshi repository are used for all clients, and can internally differentiate themselves so as to not include entries depending on client metadata. Therefore, the entry in Metadata that references the Bundle in SGenshi is unnecessary since everything in the SGenshi directory is used on all clients.

comment:2 Changed 14 years ago by desai

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone set to Bcfg2 0.9.6 Release

Sol is absolutely right on this; adding a bundle to your metadata (when it is available from SGenshi) will result in an error each time you build a client configuration. So bcfg2-repo-validate is reporting an actual issue 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.