4
apt_proxy: 'superproxy:37337'
6
- {source: 'ppa:juju/0.6'}
7
machine-data: {juju-provider-type: dummy, juju-zookeeper-hosts: 'cotswold:2181,longleat:2181',
9
output: {all: '| tee -a /var/log/cloud-init-output.log'}
10
packages: [bzr, byobu, tmux, python-setuptools, python-twisted, python-txaws, python-zookeeper,
12
runcmd: [sudo mkdir -p /var/lib/juju, sudo mkdir -p /var/log/juju, 'cat >> /etc/init/juju-machine-agent.conf
15
description "Juju machine agent"
17
author "Juju Team <juju@lists.ubuntu.com>"
20
start on runlevel [2345]
22
stop on runlevel [!2345]
27
env JUJU_MACHINE_ID="passport"
29
env JUJU_ZOOKEEPER="cotswold:2181,longleat:2181"
32
exec python -m juju.agents.machine --nodaemon --logfile /var/log/juju/machine-agent.log
33
--session-file /var/run/juju/machine-agent.zksession >> /tmp/juju-machine-agent.output
38
', /sbin/start juju-machine-agent]
39
ssh_authorized_keys: [chubb]