Modify

Ticket #550 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

bcfg2-info 'non-interactive mode' patch removes ability to specify an alternate config file

Reported by: [email protected] Owned by: desai
Priority: major Milestone: Bcfg2 0.9.6 Release
Component: bcfg2-client Version: 0.9.x
Keywords: Cc:

Description

from trunk:

[email protected]:~/devel/ischool/conf$ /usr/sbin/bcfg2-info -C ../bcfg2.local.conf 
Creating new statistics file /homes/pjjw/devel/ischool/conf/etc/statistics.xml
Processed 148 gamin events in 75.797 seconds. 0 collapsed
Processed 72 gamin events in 0.268 seconds. 0 collapsed
Processed 209 gamin events in 0.394 seconds. 0 collapsed
Processed 281 gamin events in 0.430 seconds. 0 collapsed
Processed 226 gamin events in 0.239 seconds. 0 collapsed
Processed 43 gamin events in 0.105 seconds. 0 collapsed
Processed 0 gamin events in 0.100 seconds. 0 collapsed
Failed to read file probed.xml
*** Unknown syntax: -C ../bcfg2.local.conf

to make it work as is it looks like you'd need to remove parsable options from sys.argv before checking its length.

Attachments

Change History

comment:1 Changed 15 years ago by desai

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

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.