juju-deployer 0.11.0
A tool for deploying complex stacks with juju.
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.
| File | Type | Py Version | Uploaded on | Size | |
|---|---|---|---|---|---|
| juju-deployer-0.11.0.tar.gz (md5) | Source | 2017-09-25 | 70KB | ||
- Author: Kapil Thangavelu
- Documentation: juju-deployer package documentation
- Home Page: http://launchpad.net/juju-deployer
-
Categories
- Development Status :: 4 - Beta
- Intended Audience :: Developers
- Intended Audience :: System Administrators
- Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.5
- Topic :: Internet
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: kapilt, tvansteenburgh
- Package Index Maintainer: tvansteenburgh, frankban
- DOAP record: juju-deployer-0.11.0.xml
