summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-10-29 11:46:45 -0500
committerSol Jerome <sol.jerome@gmail.com>2010-11-02 20:35:19 -0500
commitd7a26f768612b2fb1754dd30ce5a748955230494 (patch)
tree6892c5721780e5b912b6260e519706b29c22204e /src/lib
parent90d3b840f49f2e86697a2abd35299bf7b8e93ee9 (diff)
downloadbcfg2-d7a26f768612b2fb1754dd30ce5a748955230494.tar.gz
bcfg2-d7a26f768612b2fb1754dd30ce5a748955230494.tar.bz2
bcfg2-d7a26f768612b2fb1754dd30ce5a748955230494.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')
-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,