anvil/conf/distros/ubuntu-oneiric.yaml
Joshua Harlow 79104bc3a8 Updating so we don't try to update git repos if they exist, leaving them alone
Updating so that we don't uninstall python packages if keep old
2012-03-29 12:37:18 -07:00

661 lines
21 KiB
YAML

---
# Ubuntu 11 (Oneiric)
distro_pattern: Ubuntu(.*)oneiric
name: ubuntu-oneiric
packager_name: devstack.packaging.apt:AptPackager
commands:
apache:
restart: service apache2 restart
settings:
conf-link-target: /etc/apache2/sites-enabled/000-default
start: service apache2 start
status: service apache2 status
stop: service apache2 stop
git:
checkout: git checkout
clone: git clone
iscsi:
restart: service tgt restart
start: service tgt start
status: service tgt status
stop: service tgt stop
libvirt:
restart: service libvirt-bin restart
status: service libvirt-bin status
# This is just used to check that libvirt will work with a given protocol
verify: virsh -c %VIRT_PROTOCOL% uri
mysql:
# NOTE: we aren't stopping any sql injection...
create_db: mysql --user=%USER% --password=%PASSWORD% -e "CREATE DATABASE %DB%;"
drop_db: mysql --user=%USER% --password=%PASSWORD% -e "DROP DATABASE IF EXISTS %DB%;"
grant_all: mysql --user=%USER% --password=%PASSWORD% -e "GRANT ALL PRIVILEGES ON *.* TO '%USER%'@'%' IDENTIFIED BY '%PASSWORD%'; FLUSH PRIVILEGES;"
restart: service mysql restart
set_pwd: mysql --user=%USER% --password=%OLD_PASSWORD% -e "USE mysql; UPDATE user SET password=PASSWORD('%NEW_PASSWORD%') WHERE User='%USER%'; FLUSH PRIVILEGES;"
start: service mysql start
status: service mysql status
stop: service mysql stop
pip: pip
rabbit-mq:
start: service rabbitmq-server start
stop: service rabbitmq-server stop
status: service rabbitmq-server status
restart: service rabbitmq-server restart
change_password: rabbitmqctl change_password guest
components:
db:
action_classes:
install: devstack.distros.oneiric:DBInstaller
start: devstack.components.db:DBRuntime
stop: devstack.components.db:DBRuntime
uninstall: devstack.components.db:DBUninstaller
packages:
- name: mysql-client-5.1
removable: true
version: 5.1*
- name: mysql-server-core-5.1
removable: true
version: 5.1*
- name: mysql-common
removable: true
version: 5.1*
- name: mysql-server-5.1
pre-install:
# This apparently is a action needed for ubuntu/debian to set the password to something known....
- cmd:
- debconf-set-selections
run_as_root: true
stdin:
- mysql-server-5.1 mysql-server/root_password password %PASSWORD%
- mysql-server-5.1 mysql-server/root_password_again password %PASSWORD%
- mysql-server-5.1 mysql-server/start_on_boot boolean %BOOT_START%
removable: true
version: 5.1*
general:
action_classes:
install: devstack.components.pkglist:Installer
start: devstack.component:EmptyRuntime
stop: devstack.component:EmptyRuntime
uninstall: devstack.components.pkglist:Uninstaller
packages:
- name: curl
removable: false
version: 7.21.6*
- name: euca2ools
removable: false
version: 2.0.0*
- name: git
removable: false
version: 1:1*
- name: gawk
removable: false
version: 1:3*
- name: iputils-ping
removable: false
version: 3:20101006*
- name: locate
removable: false
version: 4.4.2*
- name: lsof
removable: false
version: 4.81*
- name: openssh-server
removable: false
version: 1:5.8*
- name: pep8
removable: false
version: 0.6.1*
- name: psmisc
removable: false
version: 22.14*
- name: pylint
removable: false
version: 0.23*
- name: python
removable: false
version: 2.7.2*
- name: python-coverage
removable: false
version: 3.4*
- name: python-pip
removable: false
version: 1.0*
- name: python-unittest2
removable: false
version: 0.5.1*
- name: python-virtualenv
removable: false
version: 1.6.4*
- name: python-setuptools
removable: false
version: 0.6.16*
- name: python-dev
removable: false
version: 2.7.2*
- name: python-nose
removable: false
version: 1.0.0*
- name: python-mox
removable: false
version: 0.5.3*
- name: screen
removable: false
version: 4.0.3*
- name: sudo
removable: false
version: 1.7.4*
- name: tcpdump
removable: false
version: 4.1.1*
- name: unzip
removable: false
version: 6.0*
- name: wget
removable: false
version: 1.12*
pips:
- name: mock
version: 0.8.0
glance:
action_classes:
install: devstack.components.glance:GlanceInstaller
start: devstack.components.glance:GlanceRuntime
stop: devstack.components.glance:GlanceRuntime
uninstall: devstack.components.glance:GlanceUninstaller
packages:
- name: python-eventlet
removable: true
version: 0.9*
- name: python-routes
removable: true
version: 1.12*
- name: python-greenlet
removable: true
version: 0.3.1*
- name: python-argparse
removable: true
version: 1.1*
- name: python-prettytable
removable: true
version: 0.5*
- name: python-mysqldb
removable: true
version: 1.2*
- name: python-sqlalchemy
removable: true
version: 0.6.8*
- name: python-pastedeploy
removable: true
version: 1.5.0*
- name: python-xattr
removable: true
version: 0.6*
- name: python-dateutil
removable: true
version: 1.4*
- name: python-httplib2
removable: true
version: 0.7*
pips:
- name: iso8601
version: 0.1.4
horizon:
action_classes:
install: devstack.components.horizon:HorizonInstaller
start: devstack.components.horizon:HorizonRuntime
stop: devstack.components.horizon:HorizonRuntime
uninstall: devstack.components.horizon:HorizonUninstaller
packages:
- name: apache2
removable: true
version: 2.2*
- name: apache2-mpm-worker
removable: true
version: 2.2*
- name: apache2-utils
removable: true
version: 2.2*
- name: apache2.2-bin
removable: true
version: 2.2*
- name: apache2.2-common
removable: true
version: 2.2*
- name: libapache2-mod-wsgi
removable: true
version: 3.3*
- name: python-cherrypy3
removable: true
version: 3.1*
- name: python-dateutil
removable: true
version: 1.4*
- name: python-django
removable: true
version: 1.3*
- name: python-django-mailer
removable: true
version: 0.2*
- name: python-django-nose
removable: true
version: 0.1*
- name: python-django-registration
removable: true
version: 0.7*
- name: python-eventlet
removable: true
version: 0.9*
- name: python-kombu
removable: true
version: 1.0*
- name: python-migrate
removable: true
version: 0.7*
- name: python-paste
removable: true
version: 1.7.5*
- name: python-pastedeploy
removable: true
version: 1.5.0*
- name: python-routes
removable: true
version: 1.12*
- name: python-sqlalchemy
removable: true
version: 0.6*
- name: python-webob
removable: true
version: 1.0*
pips:
- name: django-nose-selenium
version: 0.7.3
- name: pycrypto
version: 2.3
- name: python-cloudfiles
version: 1.7.9.3
keystone:
action_classes:
install: devstack.components.keystone:KeystoneInstaller
start: devstack.components.keystone:KeystoneRuntime
stop: devstack.components.keystone:KeystoneRuntime
uninstall: devstack.components.keystone:KeystoneUninstaller
packages:
- name: libldap2-dev
removable: true
version: 2.4*
- name: libsasl2-dev
removable: true
version: 2.1*
- name: python-argparse
removable: true
version: 1.1*
- name: python-bcrypt
removable: true
version: 0.1*
- name: python-eventlet
removable: true
version: 0.9*
- name: python-greenlet
removable: true
version: 0.3*
- name: python-lxml
removable: true
version: 2.3*
- name: python-migrate
removable: true
version: 0.7*
- name: python-mysqldb
removable: true
version: 1.2*
- name: python-paste
removable: true
version: 1.7.5*
- name: python-pastedeploy
removable: true
version: 1.5*
- name: python-pastescript
removable: true
version: 1.7*
- name: python-prettytable
removable: true
version: 0.5*
- name: python-pysqlite2
removable: true
version: 2.6*
- name: python-routes
removable: true
version: 1.12*
- name: python-sqlalchemy
removable: true
version: 0.6*
- name: python-webob
removable: true
version: 1.0*
- name: sqlite3
removable: true
version: 3.7*
pips:
- name: passlib
version: 1.5.3
keystone-client:
action_classes:
install: devstack.components.keystone_client:KeyStoneClientInstaller
start: devstack.components.keystone_client:KeyStoneClientRuntime
stop: devstack.components.keystone_client:KeyStoneClientRuntime
uninstall: devstack.components.keystone_client:KeyStoneClientUninstaller
packages:
- name: python-argparse
removable: true
version: 1.1*
- name: python-prettytable
removable: true
version: 0.5*
melange:
action_classes:
install: devstack.components.melange:MelangeInstaller
start: devstack.components.melange:MelangeRuntime
stop: devstack.components.melange:MelangeRuntime
uninstall: devstack.components.melange:MelangeUninstaller
packages:
- name: python-eventlet
removable: true
version: 0.9*
- name: python-greenlet
removable: true
version: 0.3.1*
- name: python-mysqldb
removable: true
version: 1.2*
- name: python-paste
removable: true
version: 1.7.5*
- name: python-pastedeploy
removable: true
version: 1.5*
- name: python-routes
removable: true
version: 1.12*
- name: python-sqlalchemy
removable: true
version: 0.6*
- name: python-webob
removable: true
version: 1.0*
no-vnc:
action_classes:
install: devstack.components.novnc:NoVNCInstaller
start: devstack.components.novnc:NoVNCRuntime
stop: devstack.components.novnc:NoVNCRuntime
uninstall: devstack.components.novnc:NoVNCUninstaller
packages:
- name: python-numpy
removable: true
version: 1:1.5*
nova:
action_classes:
install: devstack.components.nova:NovaInstaller
start: devstack.components.nova:NovaRuntime
stop: devstack.components.nova:NovaRuntime
uninstall: devstack.components.nova:NovaUninstaller
packages:
- name: dnsmasq-base
removable: true
version: 2.57*
- name: dnsmasq-utils
removable: true
version: 2.57*
- name: ebtables
removable: true
version: 2.0*
- name: iptables
removable: false
version: 1.4*
- name: iputils-arping
removable: true
version: 3:20101006*
- name: kpartx
removable: true
version: 0.4*
- name: parted
removable: true
version: 2.3*
- name: python-boto
removable: true
version: 2.0*
- name: python-carrot
removable: true
version: 0.10*
- name: python-cheetah
removable: true
version: 2.4*
- name: python-crypto
removable: true
version: 2.3*
- name: python-eventlet
removable: true
version: 0.9*
- name: python-feedparser
removable: true
version: 5.0*
- name: python-gflags
removable: true
version: 1.5*
- name: python-greenlet
removable: true
version: 0.3*
- name: python-kombu
removable: true
version: 1.0*
- name: python-libxml2
removable: true
version: 2.7*
- name: python-lockfile
removable: true
version: 1:0*
- name: python-lxml
removable: true
version: 2.3*
- name: python-migrate
removable: true
version: 0.7*
- name: python-mysqldb
removable: true
version: 1.2*
- name: python-netaddr
removable: true
version: 0.7*
- name: python-paste
removable: true
version: 1.7*
- name: python-pastedeploy
removable: true
version: 1.5.0-2
- name: python-routes
removable: true
version: 1.12*
- name: python-sqlalchemy
removable: true
version: 0.6*
- name: python-suds
removable: true
version: 0.4*
- name: python-tempita
removable: true
version: 0.5*
- name: python-xattr
removable: true
version: 0.6*
- name: socat
removable: true
version: 1.7*
- name: sqlite3
removable: true
version: 3.7*
- name: vlan
removable: true
version: 1.9*
pips:
- name: iso8601
version: 0.1.4
subsystems:
api:
packages:
- name: python-dateutil
removable: true
version: 1.4*
cpu:
packages:
- name: kvm
removable: true
version: 1:84*
- name: libvirt-bin
removable: true
version: 0.9*
- name: libvirt0
removable: true
version: 0.9*
- name: lvm2
removable: true
version: 2.02*
- name: open-iscsi
removable: true
version: 2.0*
- name: open-iscsi-utils
removable: true
version: 2.0*
- name: python-libvirt
removable: true
version: 0.9.2*
- name: qemu-kvm
removable: true
version: 0.14.*
vol:
packages:
- name: iscsitarget
removable: true
version: 1.4*
- name: lvm2
removable: true
version: 2.02*
- name: tgt
removable: true
version: 1:1*
nova-client:
action_classes:
install: devstack.components.nova_client:NovaClientInstaller
start: devstack.components.nova_client:NovaClientRuntime
stop: devstack.components.nova_client:NovaClientRuntime
uninstall: devstack.components.nova_client:NovaClientUninstaller
packages:
- name: python-argparse
removable: true
version: 1.1*
- name: python-prettytable
removable: true
version: 0.5*
quantum:
action_classes:
install: devstack.components.quantum:QuantumInstaller
start: devstack.components.quantum:QuantumRuntime
stop: devstack.components.quantum:QuantumRuntime
uninstall: devstack.components.quantum:QuantumUninstaller
packages:
- name: python-eventlet
removable: true
version: 0.9*
- name: python-gflags
removable: true
version: 1.5*
- name: python-greenlet
removable: true
version: 0.3*
- name: python-lxml
removable: true
version: 2.3*
- name: python-paste
removable: true
version: 1.7*
- name: python-pastedeploy
removable: true
version: 1.5*
- name: python-routes
removable: true
version: 1.12*
subsystems:
openvswitch:
packages:
- name: linux-headers-server
removable: true
- name: openvswitch-datapath-dkms
removable: true
version: 1.2*
- name: openvswitch-switch
removable: true
version: 1.2*
- name: python-mysqldb
removable: true
version: 1.2*
- name: python-sqlalchemy
removable: true
version: 0.6*
quantum-client:
action_classes:
install: devstack.components.quantum_client:QuantumClientInstaller
start: devstack.components.quantum_client:QuantumClientRuntime
stop: devstack.components.quantum_client:QuantumClientRuntime
uninstall: devstack.components.quantum_client:QuantumClientUninstaller
packages:
- name: python-gflags
removable: true
version: 1.5*
rabbit-mq:
action_classes:
install: devstack.components.rabbit:RabbitInstaller
start: devstack.components.rabbit:RabbitRuntime
stop: devstack.components.rabbit:RabbitRuntime
uninstall: devstack.components.rabbit:RabbitUninstaller
packages:
- name: rabbitmq-server
removable: true
version: 2.5*
packager_name: devstack.distros.oneiric:RabbitPackager
swift:
action_classes:
install: devstack.components.swift:SwiftInstaller
start: devstack.components.swift:SwiftRuntime
stop: devstack.components.swift:SwiftRuntime
uninstall: devstack.components.swift:SwiftUninstaller
packages:
- name: memcached
removable: true
version: 1.4*
- name: python-configobj
removable: true
version: 4.7*
- name: python-eventlet
removable: true
version: 0.9*
- name: python-greenlet
removable: true
version: 0.3*
- name: python-netifaces
removable: true
version: 0.5*
- name: python-pastedeploy
removable: true
version: 1.5*
- name: python-webob
removable: true
version: 1.0*
- name: python-xattr
removable: true
version: 0.6*
- name: sqlite3
removable: true
version: 3.7*
- name: xfsprogs
removable: true
version: 3.1*
...