Ticket #565 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

bcfg2-admin asks a question with one true answer: /etc/bcfg2.conf]

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


bcfg2-admin exists asks a question it does't really want an answer to: :

Store bcfg2 configuration in etc/bcfg2.conf:

If the user doesn't select the default, I'm pretty sure a lot of things that have /etc/bcfg2.conf hardcoded will become unhappy.


Change History

comment:1 Changed 15 years ago by gogolok

/etc/bcfg2.conf should be the default but it should also be possible to specify another path. In the second case one can always use -C /path/to/bcfg2.conf or whatever option it is. If this is broken for some tools/... it should be fixed instead of hiding the bugs imho.

comment:2 Changed 15 years ago by [email protected]

A Unit test should be done to detect these kind of problem in the code.

comment:3 Changed 14 years ago by desai

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

Actually, the option parser already handles this properly, and there is a unit test to ensure that it works.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.