~hazmat/pyjuju/i-dream-of-oneiric

« back to all changes in this revision

Viewing changes to ensemble/providers/common/tests/data/cloud_init_distro

  • Committer: William Reade
  • Date: 2011-09-13 11:15:18 UTC
  • mfrom: (335.2.9 cloud-init-class-used)
  • Revision ID: fwereade@gmail.com-20110913111518-61neeujr0m73mbw0
merge lp:~fwereade/ensemble/cloud-init-class-used: machine_data is now more structured, and cloud-init data is generated from it in a more ensemble-specific way [f=820892][r=hazmat,niemeyer]

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#cloud-config
 
2
apt-update: true
 
3
apt-upgrade: true
 
4
machine-data: {ensemble-provider-type: dummy, ensemble-zookeeper-hosts: 'cotswold:2181,longleat:2181',
 
5
  machine-id: passport}
 
6
output: {all: '| tee -a /var/log/cloud-init-output.log'}
 
7
packages: [bzr, byobu, tmux, python-setuptools, python-twisted, python-argparse, python-txaws,
 
8
  python-zookeeper]
 
9
runcmd: [sudo apt-get -y install ensemble, sudo mkdir -p /var/lib/ensemble, sudo mkdir
 
10
    -p /var/log/ensemble, 'ENSEMBLE_MACHINE_ID=passport ENSEMBLE_ZOOKEEPER=cotswold:2181,longleat:2181
 
11
    python -m ensemble.agents.machine -n --logfile=/var/log/ensemble/machine-agent.log
 
12
    --pidfile=/var/run/ensemble/machine-agent.pid']
 
13
ssh_authorized_keys: [chubb]