summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2007-07-25 18:53:22 +0000
committerBill Peck <bpeck@redhat.com>2007-07-25 18:53:22 +0000
commit8bbb7b67d99d14e52d4efbb30dcc877a6a5838d8 (patch)
treeb6b08746eacf87eba330994e8881a61271cd478a
parent15db229c25011ede507cbe506c703e5c85fd9ebc (diff)
-rwxr-xr-xTasks/distribution/inventory/push-inventory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tasks/distribution/inventory/push-inventory.py b/Tasks/distribution/inventory/push-inventory.py
index 99b32b9..8c44586 100755
--- a/Tasks/distribution/inventory/push-inventory.py
+++ b/Tasks/distribution/inventory/push-inventory.py
@@ -33,7 +33,7 @@ def push_inventory(hostname, inventory):
client = xmlrpclib.Server(lab_server)
#test_log = xmlrpclib.Binary(log)
try:
- resp = client.machines.inventory(hostname, inventory)
+ resp = client.machines.update(hostname, inventory)
if(resp != 0) :
raise NameError, "ERROR: Pushing Inventory for host %s." % hostname
except: