summaryrefslogtreecommitdiffstats
path: root/func/overlord
diff options
context:
space:
mode:
authorAdrian Likins <alikins@grimlock.devel.redhat.com>2007-10-24 14:34:46 -0400
committerAdrian Likins <alikins@grimlock.devel.redhat.com>2007-10-24 14:34:46 -0400
commitbb56e5bf579267d4bc76883ebddcc7c0f8a8852c (patch)
tree2c7ee275149336990a15dab3f1335e8fa731280e /func/overlord
parentf01c90d5bdd39dd4061276985233b4880783116a (diff)
downloadthird_party-func-bb56e5bf579267d4bc76883ebddcc7c0f8a8852c.tar.gz
third_party-func-bb56e5bf579267d4bc76883ebddcc7c0f8a8852c.tar.xz
third_party-func-bb56e5bf579267d4bc76883ebddcc7c0f8a8852c.zip
change copyfile cmd line to transmit file contents as binary blobs
change copyfile minion module to accept blobs, add checksum_blob for doing plain blobs
Diffstat (limited to 'func/overlord')
-rw-r--r--func/overlord/cmd_modules/copyfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/func/overlord/cmd_modules/copyfile.py b/func/overlord/cmd_modules/copyfile.py
index 9a6f54d..ff1f148 100644
--- a/func/overlord/cmd_modules/copyfile.py
+++ b/func/overlord/cmd_modules/copyfile.py
@@ -70,7 +70,7 @@ class CopyFile(client.command.Command):
gid = st.st_gid
-
- results = client_obj.run("copyfile", "copyfile", [self.options.remotepath, fb,
+ data = xmlrpclib.Binary(fb)
+ results = client_obj.run("copyfile", "copyfile", [self.options.remotepath, data,
mode, uid, gid])