From 38b68c3c5f4024160a7acb90cfd621d3f13bce32 Mon Sep 17 00:00:00 2001 From: Andrew Brestick Date: Fri, 20 Jun 2008 15:04:33 +0000 Subject: Probe data loaded whenever Metadata plugin is used git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4702 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Options.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/Options.py') diff --git a/src/lib/Options.py b/src/lib/Options.py index aeb70e44c..6075d1ced 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -13,7 +13,8 @@ def bool_cook(x): class OptionFailure(Exception): pass -DEFAULT_CONFIG_LOCATION = '/etc/bcfg2.conf' +DEFAULT_CONFIG_LOCATION = '/etc/bcfg2.conf' #/etc/bcfg2.conf +DEFAULT_INSTALL_PREFIX = '/usr' #/usr class Option(object): cfpath = DEFAULT_CONFIG_LOCATION @@ -195,7 +196,7 @@ SERVER_KEY = Option('Path to SSL key', cf=('communication', 'key'), SERVER_PASSWORD = Option('Communication Password', cmd='-x', odesc='', cf=('communication', 'password'), default=False) INSTALL_PREFIX = Option('Installation location', cf=('server', 'prefix'), - default='/usr', odesc='') + default=DEFAULT_INSTALL_PREFIX, odesc='') SERVER_PROTOCOL = Option('Server Protocol', cf=('communication', 'procotol'), default='xmlrpc/ssl') SENDMAIL_PATH = Option('Path to sendmail', cf=('reports', 'sendmailpath'), -- cgit v1.2.3-1-g7c22