From bb56e5bf579267d4bc76883ebddcc7c0f8a8852c Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Wed, 24 Oct 2007 14:34:46 -0400 Subject: 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 --- func/overlord/cmd_modules/copyfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'func/overlord/cmd_modules/copyfile.py') 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]) -- cgit