Modify

Ticket #852 (closed defect: fixed)

Opened 13 years ago

Last modified 9 years ago

importscript.py does not process -C option

Reported by: https://me.yahoo.com/a/2SlxL.p_rsQD.KxOt3q32tWWsQ--#39bec Owned by: desai
Priority: minor Milestone:
Component: bcfg2-server Version:
Keywords: Cc:

Description

The usage message claims to support -C to use a different config file, but this does not actually work.

http://trac.mcs.anl.gov/projects/bcfg2/browser/trunk/bcfg2/src/lib/Server/Reports/importscript.py

Line 215:

opts, args = getopt(argv[1:], "hvudc:s:", ["help", "verbose", "updates" ,

A C: should be added to the end of the option string.

Attachments

Change History

comment:1 Changed 13 years ago by solj

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

Added in [b4a76883d4971a46970aebb4ee617f3677125fc6] (SVN r5756). Thanks for the detailed bug report.

comment:2 Changed 9 years ago by Robertgrog

  • Version 1.0 deleted
  • Milestone Bcfg2 1.1.0 Release deleted

Interesting helpful bugs noticed here. This is test post http://zijgos95.com

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.