From 64659200c00ab083f0cbbe92ea7fb8d212772da7 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Sat, 13 Mar 2010 21:18:53 +0000 Subject: APT: Add support for using non-standard tool paths (Resolves Ticket #773 Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5766 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Options.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/lib/Options.py') diff --git a/src/lib/Options.py b/src/lib/Options.py index c2e265b87..879bc3bab 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -247,6 +247,16 @@ SERVER_PROTOCOL = Option('Server Protocol', cf=('communication', 'procotol'), SENDMAIL_PATH = Option('Path to sendmail', cf=('reports', 'sendmailpath'), default='/usr/lib/sendmail') +# APT client tool options +CLIENT_APT_TOOLS_INSTALL_PATH = Option('Apt tools install path', + cf=('APT', 'install_path'), + default='/usr') +CLIENT_APT_TOOLS_VAR_PATH = Option('Apt tools var path', + cf=('APT', 'var_path'), default='/var') +CLIENT_SYSTEM_ETC_PATH = Option('System etc path', cf=('APT', 'etc_path'), + default='/etc') + + CLIENT_PROFILE = Option('assert the given profile for the host', default=False, cmd='-p', odesc="") CLIENT_RETRIES = Option('the number of times to retry network communication', -- cgit v1.2.3-1-g7c22