summaryrefslogtreecommitdiffstats
path: root/src/lib/Options.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-10-29 11:46:45 -0500
committerNarayan Desai <desai@mcs.anl.gov>2010-10-29 11:46:45 -0500
commit890a6f79dd857bdfe03a3fbf4e79f2901d8b88d7 (patch)
treec194228f090261bed5b59971385adb84381e8400 /src/lib/Options.py
parent106248d2315704efdee5e352b207a62b5cf697d5 (diff)
downloadbcfg2-890a6f79dd857bdfe03a3fbf4e79f2901d8b88d7.tar.gz
bcfg2-890a6f79dd857bdfe03a3fbf4e79f2901d8b88d7.tar.bz2
bcfg2-890a6f79dd857bdfe03a3fbf4e79f2901d8b88d7.zip
bcfg2: implement -Q option (bundle-quick mode)
Implement the -Q option for the bcfg2 client. This option only verifies and installs the entries in bundles specified with -b. Considerably improves runtime performance when package checksums are being checked. This option prevents the client from sending statistics to the server, and is incompatible with -r.
Diffstat (limited to 'src/lib/Options.py')
-rw-r--r--src/lib/Options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py
index b467a776d..1dcad6427 100644
--- a/src/lib/Options.py
+++ b/src/lib/Options.py
@@ -290,6 +290,8 @@ CLIENT_REMOVE = Option('force removal of additional configuration items',
default=False, cmd='-r', odesc="<entry type|all>")
CLIENT_BUNDLE = Option('only configure the given bundle(s)', default=[],
cmd='-b', odesc='<bundle:bundle>', cook=colon_split)
+CLIENT_BUNDLEQUICK = Option('only verify/configure the given bundle(s)', default=False,
+ cmd='-Q')
CLIENT_INDEP = Option('only configure the given bundle(s)', default=False,
cmd='-z')
CLIENT_KEVLAR = Option('run in kevlar (bulletproof) mode', default=False,