~ubuntu-branches/ubuntu/raring/juju/raring-201304221742

« back to all changes in this revision

Viewing changes to juju/providers/common/tests/data/cloud_init_ppa_apt_proxy

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-10-09 12:35:35 UTC
  • mfrom: (1.1.23) (0.429.9 experimental)
  • Revision ID: package-import@ubuntu.com-20121009123535-23f9f1buew6uo8ku
Tags: 0.6-1
* New upstream release
* d/control: Removing libvirt-bin from Suggests as it is no longer
  needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#cloud-config
 
2
apt_update: true
 
3
apt_upgrade: true
 
4
apt_proxy: 'superproxy:37337'
 
5
apt_sources:
 
6
- {source: 'ppa:juju/0.6'}
 
7
machine-data: {juju-provider-type: dummy, juju-zookeeper-hosts: 'cotswold:2181,longleat:2181',
 
8
  machine-id: passport}
 
9
output: {all: '| tee -a /var/log/cloud-init-output.log'}
 
10
packages: [bzr, byobu, tmux, python-setuptools, python-twisted, python-txaws, python-zookeeper,
 
11
  juju]
 
12
runcmd: [sudo mkdir -p /var/lib/juju, sudo mkdir -p /var/log/juju, 'cat >> /etc/init/juju-machine-agent.conf
 
13
    <<EOF
 
14
 
 
15
    description "Juju machine agent"
 
16
 
 
17
    author "Juju Team <juju@lists.ubuntu.com>"
 
18
 
 
19
 
 
20
    start on runlevel [2345]
 
21
 
 
22
    stop on runlevel [!2345]
 
23
 
 
24
    respawn
 
25
 
 
26
 
 
27
    env JUJU_MACHINE_ID="passport"
 
28
 
 
29
    env JUJU_ZOOKEEPER="cotswold:2181,longleat:2181"
 
30
 
 
31
 
 
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
 
34
    2>&1
 
35
 
 
36
    EOF
 
37
 
 
38
    ', /sbin/start juju-machine-agent]
 
39
ssh_authorized_keys: [chubb]