Skip to main content

A tool for deploying complex stacks with juju.

Project description

Juju Deployer

A deployment tool for juju that allows stack-like configurations of complex deployments.

It supports configuration in yaml or json.

Installation

$ virtualenv –system-site-packages deployer $ ./deployer/bin/easy_install juju-deployer $ ./deployer/bin/juju-deployer -h

Usage

Stack Definitions

High level view of v3 stacks:

 blog:
    series: precise
    services:
       blog:
         charm: wordpress
         branch: lp:charms/precise/wordpress
       db:
         charm: mysql
         branch: lp:charms/precise/mysql
    relations:
       - [db, blog]

 blog-prod:
    inherits: blog
    services:
       blog:
         num_units: 3
         constraints: instance-type=m1.medium
         options:
           wp-content: include-file://content-branch.txt
       db:
         constraints: instance-type=m1.large
         options:
           tuning: include-base64://db-tuning.txt
       cachelb:
         charm: varnish
         branch: lp:charms/precise/varnish
    relations:
       - [cachelb, blog]


We've got two deployment stacks here, blog, and blog-prod. The blog stack defines
a simple wordpress deploy with mysql and two relations. In this case its

Version 4 bundles are currently under development. The development document for these types of bundles is available here.

Development

Obtain source

$ bzr branch lp:juju-deployer/darwin deployer $ cd deployer

# Test runner $ python setup.py test

Background

This is a wrapper for Juju that allows stack-like configurations of complex deployments. It was created to deploy Openstack but should be able to deploy other complex service configurations in the same manner.

See deployments.cfg and deployments.cfg.sample for examples of how to describe service stacks in JSON.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

juju-deployer-0.6.0.tar.gz (85.5 kB view details)

Uploaded Source

File details

Details for the file juju-deployer-0.6.0.tar.gz.

File metadata

File hashes

Hashes for juju-deployer-0.6.0.tar.gz
Algorithm Hash digest
SHA256 d1daa35b332d3d52cd869415eac0a22318ecddced6cf226244c48f54ea81ef85
MD5 b5049a40207d456145210d4bed58753d
BLAKE2b-256 43714be0b7c75edcdf87346e3723a5cb09913d800efef3b2788709d20aa6cebd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page