Modify

Ticket #808 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

bcfg2 server using bundle "filename" and not "Bundle name" tag in bundle.

Reported by: https://www.google.com/accounts/o8/id?id=AItOawmQmn0B7szSWU05XNIWqq49So7cIisAOpI Owned by: solj
Priority: major Milestone: Bcfg2 1.1.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

For some reason I had a bundle where the filename and the bundle name tag were out of sync.

[[email protected] Bundler]# cat adserver-httpd.xml
 
<Bundle name='dynamic-conf' revision='$Revision: 800 $' version='2.0'>
  <ConfigFile name='/etc/httpd/conf.d/redirector.conf' />
  <ConfigFile name='/etc/httpd/conf.d/tenzing.conf' />
  <ConfigFile name='/etc/httpd/conf.d/remnant.conf' />
  <ConfigFile name='/etc/httpd/conf.d/textads.conf' />
  <ConfigFile name='/etc/httpd/conf.d/thirdparty.conf' />
  <Service name='httpd'/>
</Bundle>

When I config the file in groups.xml under

<Bundle Name='dynamic-conf' />

I get a Bundle can not be found. When I use the name

<Bundle name='adserver-httpd' />

it works fine. I though that the Bundle Name tag was used over the filename?

Attachments

Change History

comment:1 Changed 13 years ago by solj

  • Owner changed from desai to solj
  • Status changed from new to accepted

comment:2 Changed 13 years ago by solj

  • Status changed from accepted to closed
  • Resolution set to fixed

Looks like the filename is used. I've added a check in [cb6a058e89130141e12ed817d12e8aaf04a3b5eb] (SVN r5757) to make sure that the filename matches the name attribute.

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.