talkative, friendly, programmer

The Remote-deployer Charm: Playing With Juju During a Tea Break

The power of juju, and its model driven approach to deployments is
undoubtedly the relationships. Being able to specify what services you
depend on and what you provide to other services is extremely powerful.

It doesn’t replace writing your own charm, indeed the cases in which it’s useful are limited.
(you must have a publicly available file path that you want to deploy from)
The intention is to facilitate playing with juju in less time than the typical tea break.

The something to do is just pointing it at some remote file tree (like a github url).
It downloads this file tree and looks for a file called remote-deployer. It runs this
as the ubuntu user. The example above installs the clojure build tool lein and creates
a hello world web app (https://github.com/mattyw/compojure-app-bootstrap)