debian/0000775000000000000000000000000012322005750007164 5ustar debian/copyright0000664000000000000000000000071612321767056011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: Juju Deployer Source: https://launchpad.net/juju-deployer/darwin Files: * Copyright: 2013, Kapil Thangavelu License: GPL-3 Files: debian/* Copyright: 2013, Canonical Ltd (http://www.canonical.com) License: GPL-3 License: GPL-3 On Debian GNU/Linux system you can find the complete text of the GPL-3 license in '/usr/share/common-licenses/GPL-3' debian/juju-deployer.manpages0000664000000000000000000000002712321767056013513 0ustar debian/juju-deployer.1 debian/compat0000664000000000000000000000000212321767056010377 0ustar 8 debian/tests/0000775000000000000000000000000012322005750010326 5ustar debian/tests/base0000775000000000000000000000005212321767056011200 0ustar #!/bin/bash set -e juju-deployer --help debian/tests/control0000664000000000000000000000006212321767056011744 0ustar Tests: base Depends: @ Restrictions: allow-stderr debian/watch0000664000000000000000000000013612321767056010232 0ustar version=3 https://pypi.python.org/packages/source/j/juju-deployer/juju-deployer-(.*)\.tar\.gz debian/source/0000775000000000000000000000000012322005750010464 5ustar debian/source/format0000664000000000000000000000001412321767056011707 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012322005750010613 5ustar debian/patches/series0000664000000000000000000000003212322001044012013 0ustar fixup-suboridinates.patch debian/patches/fixup-suboridinates.patch0000664000000000000000000000072412322001123015631 0ustar --- a/deployer/env/base.py +++ b/deployer/env/base.py @@ -85,7 +85,7 @@ class BaseEnvironment(object): params.extend(["--config", fh.name]) if constraints: params.extend(['--constraints', constraints]) - if num_units != 1: + if num_units not in [1, None]: params.extend(["--num-units", str(num_units)]) if charm_url.startswith('local'): if repo == "": debian/rules0000775000000000000000000000071012321767142010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2 debian/docs0000664000000000000000000000000712321767056010051 0ustar README debian/juju-deployer.10000664000000000000000000000474712321767056012075 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.1. .TH JUJU-DEPLOYER "1" "July 2013" "juju-deployer 0.2.1" "User Commands" .SH NAME juju-deployer \- deploy complex service stacks with juju .SH DESCRIPTION usage: juju\-deployer [\-h] [\-c CONFIGS] [\-d] [\-L] [\-u] [\-l] [\-D] [\-T] .IP [\-t TIMEOUT] [\-f FIND_SERVICE] [\-b] [\-s DEPLOY_DELAY] [\-e JUJU_ENV] [\-o OVERRIDES] [\-v] [\-W] [\-r RETRY_COUNT] [\-\-diff] [\-w REL_WAIT] [deployment] .SS "positional arguments:" .IP deployment .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-c\fR CONFIGS, \fB\-\-config\fR CONFIGS File containing deployment(s) json config. This option can be repeated, with later files overriding values in earlier ones. .TP \fB\-d\fR, \fB\-\-debug\fR Enable debugging to stdout .TP \fB\-L\fR, \fB\-\-local\-mods\fR Disallow deployment of locally\-modified charms .TP \fB\-u\fR, \fB\-\-update\-charms\fR Update existing charm branches .TP \fB\-l\fR, \fB\-\-ls\fR List available deployments .TP \fB\-D\fR, \fB\-\-destroy\-services\fR Destroy all services (do not terminate machines) .TP \fB\-T\fR, \fB\-\-terminate\-machines\fR Terminate all machines but the bootstrap node. Destroy any services that exist on each .TP \fB\-t\fR TIMEOUT, \fB\-\-timeout\fR TIMEOUT Timeout (sec) for entire deployment (45min default) .TP \fB\-f\fR FIND_SERVICE, \fB\-\-find\-service\fR FIND_SERVICE Find hostname from first unit of a specific service. .TP \fB\-b\fR, \fB\-\-branch\-only\fR Update vcs branches and exit. .TP \fB\-s\fR DEPLOY_DELAY, \fB\-\-deploy\-delay\fR DEPLOY_DELAY Time in seconds to sleep between 'deploy' commands, to allow machine provider to process requests. On terminate machines this also signals waiting for machine removal. .TP \fB\-e\fR JUJU_ENV, \fB\-\-environment\fR JUJU_ENV Deploy to a specific Juju environment. .TP \fB\-o\fR OVERRIDES, \fB\-\-override\fR OVERRIDES Override *all* config options of the same name across all services. Input as key=value. .TP \fB\-v\fR, \fB\-\-verbose\fR Verbose output .TP \fB\-W\fR, \fB\-\-watch\fR Watch environment changes on console .TP \fB\-r\fR RETRY_COUNT, \fB\-\-retry\fR RETRY_COUNT Resolve unit errors via retry. Either standalone or in a deployment .TP \fB\-\-diff\fR Resolve unit errors via retry. Either standalone or in a deployment .TP \fB\-w\fR REL_WAIT, \fB\-\-relation\-wait\fR REL_WAIT Number of seconds to wait before checking for relation errors after all relations have been added and subordinates started. (default: 60) debian/changelog0000664000000000000000000000416612322005746011052 0ustar juju-deployer (0.3.6-0ubuntu2) trusty; urgency=medium * d/p/fixup-suboridinates.patch: Fixup broken deployment of subordinates for the deployer CLI (LP: #1306298). -- James Page Fri, 11 Apr 2014 16:36:01 +0100 juju-deployer (0.3.6-0ubuntu1) trusty; urgency=medium * New upstream point release: - deployer fails to deploy bundle with subordinate from Juju GUI (LP: #1306298). - d/rules: Drop overrides as crufty operations.py removed upstream. -- James Page Fri, 11 Apr 2014 14:34:52 +0100 juju-deployer (0.3.4-0ubuntu1) trusty; urgency=medium * New upstream point release (LP: #1278491). -- James Page Mon, 24 Feb 2014 09:03:04 +0000 juju-deployer (0.3.0-0ubuntu2) trusty; urgency=medium * d/p/fixup-broken-syntax.patch: Drop deployer/operations from codebase as its broken and not actually used. * d/tests/*: Add some DEP-8 tests. -- James Page Thu, 23 Jan 2014 11:39:17 +0000 juju-deployer (0.3.0-0ubuntu1) trusty; urgency=medium * New upstream release: - d/control: Bump python-jujuclient to >= 0.15. -- James Page Wed, 22 Jan 2014 17:10:08 +0000 juju-deployer (0.2.9-0ubuntu1) trusty; urgency=low * New upstream release: - d/control: Bump python-juju-client to >= 0.13. -- James Page Mon, 25 Nov 2013 09:24:22 +0000 juju-deployer (0.2.5-0ubuntu1) saucy; urgency=low * New upstream point release, including fixes for use of to/force-machine directive with Juju managed LXC containers (LP: #1234337). -- James Page Wed, 02 Oct 2013 19:41:42 +0100 juju-deployer (0.2.3-0ubuntu1) saucy; urgency=low * New upstream point release: - d/control: Bump minimum version of python-jujuclient to 0.0.7. -- James Page Tue, 27 Aug 2013 19:18:12 +0100 juju-deployer (0.2.1-0ubuntu1) saucy; urgency=low [ Andreas Hasenack ] * Initial package. [ James Page ] * d/copyright: Document copyright and licensing. -- James Page Tue, 20 Aug 2013 12:34:34 +0100 debian/control0000664000000000000000000000150312321767056010603 0ustar Source: juju-deployer Section: net Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Andreas Hasenack Build-Depends: debhelper (>= 8.0.0), python-all (>= 2.6.6-3~), python-setuptools Standards-Version: 3.9.4 Homepage: https://launchpad.net/juju-deployer/darwin XS-Testsuite: autopkgtest Package: juju-deployer Architecture: all Depends: bzr, python-bzrlib, python-jujuclient (>= 0.15), python-yaml, ${misc:Depends}, ${python:Depends} Provides: ${python:Provides} Description: Deploy complex stacks of services using Juju Juju Deployer allows complex Juju service deployments to be declared offline with a configuration file. It will deploy the services with the specified configuration options and establish the necessary relations.