add users to already deployed ftp server charm

Charles Butler charles.butler at
Tue Jun 2 23:16:10 UTC 2015


this would be a prime opportunity to extend the charm with a Juju action!

You can somewhat extrapolate different data types for action variables by
defining a string and loading it with say, a JSON object with the
properties you need and then parse it server side. But I dont like this as
it breaks expectations of what the value type should be.  What I personally
would do, is create an action to add a single user w/ the proper data
points as an action, and script calling that action with whatever data-sets
you need.

All the best,

Charles Butler <charles.butler at> - Juju Charmer
Come see the future of datacenter orchestration:

On Tue, Jun 2, 2015 at 7:08 PM, Vasiliy Tolstov <v.tolstov at> wrote:

> Hi! I need to able add/del ftp users (login:passwd format) on already
> deployed ftp server unit.
> What is the idiomatic right way to do this? I'm already have relation
> to establish connections to needed services, but also i need to
> add/del users by hand. For example i have sinle unit ftp server and
> need to create 10-20 users with passwords and may be different home
> dirs. As i see charm does not have dictionary or list types.
> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at
> --
> Juju mailing list
> Juju at
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Juju mailing list