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

Delta Between Two Patch Sets: juju/providers/common/tests/data/cloud_init_distro

Issue 6850044: providers/ec2: support VPC
Left Patch Set: Created 12 years, 4 months ago
Right Patch Set: providers/ec2: support VPC Created 12 years, 4 months 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:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
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, 7 packages: [bzr, byobu, tmux, python-setuptools, python-twisted, python-zookeeper , juju, python-txaws]
8 juju]
9 runcmd: [sudo mkdir -p /var/lib/juju, sudo mkdir -p /var/log/juju, 'cat >> /etc/ init/juju-machine-agent.conf 8 runcmd: [sudo mkdir -p /var/lib/juju, sudo mkdir -p /var/log/juju, 'cat >> /etc/ init/juju-machine-agent.conf
10 <<EOF 9 <<EOF
11 10
12 description "Juju machine agent" 11 description "Juju machine agent"
13 12
14 author "Juju Team <juju@lists.ubuntu.com>" 13 author "Juju Team <juju@lists.ubuntu.com>"
15 14
16 15
17 start on runlevel [2345] 16 start on runlevel [2345]
18 17
19 stop on runlevel [!2345] 18 stop on runlevel [!2345]
20 19
21 respawn 20 respawn
22 21
23 22
24 env JUJU_MACHINE_ID="passport" 23 env JUJU_MACHINE_ID="passport"
25 24
26 env JUJU_ZOOKEEPER="cotswold:2181,longleat:2181" 25 env JUJU_ZOOKEEPER="cotswold:2181,longleat:2181"
27 26
28 27
29 exec python -m juju.agents.machine --nodaemon --logfile /var/log/juju/machin e-agent.log 28 exec python -m juju.agents.machine --nodaemon --logfile /var/log/juju/machin e-agent.log
30 --session-file /var/run/juju/machine-agent.zksession >> /tmp/juju-machine-ag ent.output 29 --session-file /var/run/juju/machine-agent.zksession >> /tmp/juju-machine-ag ent.output
31 2>&1 30 2>&1
32 31
33 EOF 32 EOF
34 33
35 ', /sbin/start juju-machine-agent] 34 ', /sbin/start juju-machine-agent]
36 ssh_authorized_keys: [chubb] 35 ssh_authorized_keys: [chubb]
LEFTRIGHT

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