summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Options.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-06 16:35:13 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-06 16:35:18 -0400
commit01d68bf3237529f5cb6a9160b4328e797d01b0fe (patch)
treef55cd14a92e4f7a3c059a851c707ef93c7ffa821 /src/lib/Bcfg2/Options.py
parent63167ca8054b58a7420cfc358c1decc77f06076f (diff)
downloadbcfg2-01d68bf3237529f5cb6a9160b4328e797d01b0fe.tar.gz
bcfg2-01d68bf3237529f5cb6a9160b4328e797d01b0fe.tar.bz2
bcfg2-01d68bf3237529f5cb6a9160b4328e797d01b0fe.zip
added -B (skip bundles) and -Z (skip independent) options
Diffstat (limited to 'src/lib/Bcfg2/Options.py')
-rw-r--r--src/lib/Bcfg2/Options.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py
index 6d3dd0a8c..96a99b582 100644
--- a/src/lib/Bcfg2/Options.py
+++ b/src/lib/Bcfg2/Options.py
@@ -495,6 +495,12 @@ CLIENT_BUNDLE = \
cmd='-b',
odesc='<bundle:bundle>',
cook=colon_split)
+CLIENT_SKIPBUNDLE = \
+ Option('Configure everything except 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,
@@ -503,6 +509,10 @@ CLIENT_INDEP = \
Option('Only configure independent entries, ignore bundles',
default=False,
cmd='-z')
+CLIENT_SKIPINDEP = \
+ Option('Do not configure independent entries',
+ default=False,
+ cmd='-Z')
CLIENT_KEVLAR = \
Option('Run in kevlar (bulletproof) mode',
default=False,