Sending binaries over relations

Stuart Bishop stuart.bishop at canonical.com
Wed Jan 20 17:38:44 UTC 2016


On 20 January 2016 at 22:16, Marco Ceppi <marco at ondina.co> wrote:

> I don't think sending the binary via relation is a good idea. Either
> spinning up a web service or using rsync would be a better bet

Yeah. And you can't set relation data to anything larger than the
maximum command line length, so it would only work as transport for
small files.

I'd go ssh myself, since most of it is already setup.
charmhelpers.contrib.unison had code to setup the keys between peers
(I've used this bit and it works, but not the actual unison bit).

-- 
Stuart Bishop <stuart.bishop at canonical.com>



More information about the Juju mailing list