summaryrefslogtreecommitdiffstats
path: root/src/lib/Options.py
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-03-13 21:18:53 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-03-13 15:21:49 -0600
commit64659200c00ab083f0cbbe92ea7fb8d212772da7 (patch)
tree0103f80316e30e551602807616e7ce7c5b2eed69 /src/lib/Options.py
parentfe026abed813e810c3980cc90904287fb5d48620 (diff)
downloadbcfg2-64659200c00ab083f0cbbe92ea7fb8d212772da7.tar.gz
bcfg2-64659200c00ab083f0cbbe92ea7fb8d212772da7.tar.bz2
bcfg2-64659200c00ab083f0cbbe92ea7fb8d212772da7.zip
APT: Add support for using non-standard tool paths (Resolves Ticket #773
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5766 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Options.py')
-rw-r--r--src/lib/Options.py10
1 files changed, 10 insertions, 0 deletions
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="<profile>")
CLIENT_RETRIES = Option('the number of times to retry network communication',