Modify

Ticket #872 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

bcfg2-admin viz does not support -C,--configfile

Reported by: http://duncanhutty.myopenid.com/ Owned by: solj
Priority: minor Milestone: Bcfg2 1.1.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

In bcfg2-admin's -help, it says that -C,--configfile can be passed, but when I run

bcfg2-admin -C <filename> viz -o output.png

I get 'option -C not recognized'.

I can pass -C to 'bcfg2-admin query' but not to viz.

With a hint from solj, I submit the attached patch so that class MetadataCore? gets configfile added to the 'options' dict.

Attachments

__init__.py.patch (885 bytes) - added by http://duncanhutty.myopenid.com/ 13 years ago.

Change History

Changed 13 years ago by http://duncanhutty.myopenid.com/

comment:1 Changed 13 years ago by http://duncanhutty.myopenid.com/

  • Milestone changed from Bcfg2 1.2.0 Release to Bcfg2 1.1.0 Release

comment:2 Changed 13 years ago by http://duncanhutty.myopenid.com/

In case it's not clear, that patch is for src/lib/Server/Admin/init.py

comment:3 Changed 13 years ago by solj

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

comment:4 Changed 13 years ago by solj

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

Fixed in [5807]. Thanks for the patch!

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.