summaryrefslogtreecommitdiffstats
path: root/func/overlord
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-24 15:51:09 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-24 15:51:09 -0400
commit054209f0c97becc17fa71aa323a7a3de08370cb0 (patch)
treeb250f0406a432b3ab2773285f845c84959fe3a68 /func/overlord
parent1215af4b5430163ece944b2464f936e1c4278cfd (diff)
downloadthird_party-func-054209f0c97becc17fa71aa323a7a3de08370cb0.tar.gz
third_party-func-054209f0c97becc17fa71aa323a7a3de08370cb0.tar.xz
third_party-func-054209f0c97becc17fa71aa323a7a3de08370cb0.zip
Inventory module now defaults to calling 'inventory' methods, not 'info', to represent that info() data may change frequently
and not be something we want to track. Also fix the --no-git option.
Diffstat (limited to 'func/overlord')
-rwxr-xr-xfunc/overlord/inventory.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/func/overlord/inventory.py b/func/overlord/inventory.py
index f03855b..e75aedb 100755
--- a/func/overlord/inventory.py
+++ b/func/overlord/inventory.py
@@ -46,8 +46,8 @@ class FuncInventory(object):
help="run against specific servers, default: '*'")
p.add_option("-m", "--methods",
dest="methods",
- default="info",
- help="run inventory only on certain function names, default: 'info'")
+ default="inventory",
+ help="run inventory only on certain function names, default: 'inventory'")
p.add_option("-M", "--modules",
dest="modules",
default="all",
@@ -58,7 +58,7 @@ class FuncInventory(object):
help="output results tree here, default: %s" % DEFAULT_TREE)
p.add_option("-n", "--no-git",
dest="nogit",
- action="store_false",
+ action="store_true",
help="disable useful change tracking features")
(options, args) = p.parse_args(args)