Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3143)

Side by Side Diff: juju/providers/common/tests/data/cloud_init_distro

Issue 5845061: juju/control should be aware of subordinates
Patch Set: juju/control should be aware of subordinates Created 13 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #cloud-config 1 #cloud-config
2 apt-update: true 2 apt-update: true
3 apt-upgrade: true 3 apt-upgrade: true
4 machine-data: {juju-provider-type: dummy, juju-zookeeper-hosts: 'cotswold:2181,l ongleat:2181', 4 machine-data: {juju-provider-type: dummy, juju-zookeeper-hosts: 'cotswold:2181,l ongleat:2181',
5 machine-id: passport} 5 machine-id: passport}
6 output: {all: '| tee -a /var/log/cloud-init-output.log'} 6 output: {all: '| tee -a /var/log/cloud-init-output.log'}
7 packages: [bzr, byobu, tmux, python-setuptools, python-twisted, python-txaws, py thon-zookeeper, juju] 7 packages: [bzr, byobu, tmux, python-setuptools, python-twisted, python-txaws, py thon-zookeeper,
8 runcmd: [sudo mkdir -p /var/lib/juju, sudo mkdir -p 8 juju]
9 /var/log/juju, 'cat >> /etc/init/juju-machine-agent.conf <<EOF 9 runcmd: [sudo mkdir -p /var/lib/juju, sudo mkdir -p /var/log/juju, 'cat >> /etc/ init/juju-machine-agent.conf
10 <<EOF
10 11
11 description "Juju machine agent" 12 description "Juju machine agent"
12 13
13 author "Juju Team <juju@lists.ubuntu.com>" 14 author "Juju Team <juju@lists.ubuntu.com>"
14 15
15 16
16 start on runlevel [2345] 17 start on runlevel [2345]
17 18
18 stop on runlevel [!2345] 19 stop on runlevel [!2345]
19 20
20 respawn 21 respawn
21 22
22 23
23 env JUJU_MACHINE_ID="passport" 24 env JUJU_MACHINE_ID="passport"
24 25
25 env JUJU_ZOOKEEPER="cotswold:2181,longleat:2181" 26 env JUJU_ZOOKEEPER="cotswold:2181,longleat:2181"
26 27
27 28
28 exec python -m juju.agents.machine --nodaemon --logfile /var/log/juju/machin e-agent.log 29 exec python -m juju.agents.machine --nodaemon --logfile /var/log/juju/machin e-agent.log
29 --session-file /var/run/juju/machine-agent.zksession >> /tmp/juju-machine-ag ent.output 30 --session-file /var/run/juju/machine-agent.zksession >> /tmp/juju-machine-ag ent.output
30 2>&1 31 2>&1
31 32
32 EOF 33 EOF
33 34
34 ', /sbin/start juju-machine-agent] 35 ', /sbin/start juju-machine-agent]
35 ssh_authorized_keys: [chubb] 36 ssh_authorized_keys: [chubb]
OLDNEW
« no previous file with comments | « juju/providers/common/tests/data/cloud_init_bootstrap_zookeepers ('k') | juju/providers/common/tests/data/cloud_init_ppa » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b