remote deployer #2

  • By mattyw
  • Latest version (#2)
  • trusty
  • Stable
  • Edge

Description

This charm copys a remote file tree using the given source and runs the remote-deployer
command contained in the directory to setup whatever is contained in the directory.

remote-deployer-charm

This charm copies remote file trees to the unit, then runs any remote-deployer
file found within this directory to perform any desired setup.

remote paths can be copied using charm config:

juju deploy remote-deployer
juju set remote-deployer/0 http://github.com/myname/myrepo

or actions:

juju deploy remote-deployer
juju action do remote-deployer/0 deploy source=http://github.com/myname/myrepo

In both cases the charm will clone the github repo, then look inside it for a remote-deployer file.
This file will run, to do whatever installation or config is defined by that file

Configuration

repo
(string) The remote location to copy from