anvil/conf/distros/fedora-16.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

653 lines
21 KiB
YAML

---
# Fedora 16 configuration for DevstackPy
name: fedora-16
distro_pattern: fedora-16
commands:
apache:
restart: service httpd restart
settings:
conf-link-target: /etc/httpd/conf.d/wsgi-horizon-000-default.conf
start: service httpd start
status: service httpd status
stop: service httpd stop
git:
checkout: git checkout
clone: git clone
libvirt:
restart: service libvirtd restart
status: service libvirtd status
# This is just used to check that libvirt will work with a given protocol
verify: virsh -c %VIRT_PROTOCOL% uri
mysql:
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 mysqld 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 mysqld start
status: service mysqld status
stop: service mysqld stop
pip: pip-python
rabbit-mq:
change_password: rabbitmqctl change_password guest
restart: service rabbitmq-server restart
start: service rabbitmq-server start
status: service rabbitmq-server status
stop: service rabbitmq-server stop
components:
db:
action_classes:
install: devstack.distros.fedora16:DBInstaller
start: devstack.components.db:DBRuntime
stop: devstack.components.db:DBRuntime
uninstall: devstack.components.db:DBUninstaller
packages:
- name: mysql
removable: true
version: 5.5*
- name: mysql-server
removable: true
version: 5.5*
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.7*
- name: euca2ools
removable: false
version: 1.3.1*
- name: gawk
removable: false
version: 4.0*
- name: git
removable: false
version: 1.7*
- name: iputils
removable: false
version: 20101006*
- name: libxml2-devel
removable: false
version: 2.7*
- name: libxslt-devel
removable: false
version: 1.1.26*
- name: lsof
removable: false
version: 4.84*
- name: mlocate
removable: false
version: 0.24*
- name: openssh-server
removable: false
version: 5.8*
- name: psmisc
removable: false
version: 22.13*
- name: pylint
removable: false
version: 0.24*
- name: python
removable: false
version: 2.7*
- name: python-coverage
removable: false
version: 3.5*
- name: python-devel
removable: false
version: 2.7*
- name: python-distutils-extra
removable: false
version: 2.29*
- name: python-mox
removable: false
version: 0.5.3*
- name: python-nose
removable: false
version: 1.1*
- name: python-pep8
removable: false
version: 0.6*
- name: python-pip
removable: false
version: 0.8*
- name: python-setuptools
removable: false
version: 0.6.24*
- name: python-unittest2
removable: false
version: 0.5.1*
- name: python-virtualenv
removable: false
version: 1.7*
- name: screen
removable: false
version: 4.1.0*
- name: sudo
removable: false
version: 1.8.3*
- name: tcpdump
removable: false
version: 4.1*
- name: unzip
removable: false
version: 6.0*
- name: wget
removable: false
version: 1.12*
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: MySQL-python
removable: true
version: 1.2*
- name: python-dateutil
removable: true
version: 1.5*
- name: python-eventlet
removable: true
version: 0.9*
- name: python-greenlet
removable: true
version: 0.3.1*
- name: python-httplib2
removable: true
version: 0.6*
- name: python-paste-deploy
removable: true
version: 1.5.0*
- name: python-prettytable
removable: true
version: 0.5*
- name: python-routes
removable: true
version: 1.12*
- name: python-sqlalchemy
removable: true
version: 0.7.5*
- name: python-wsgiref
removable: true
version: 0.1.2*
- name: pyxattr
removable: true
version: 0.5*
horizon:
action_classes:
install: devstack.distros.fedora16:HorizonInstaller
start: devstack.components.horizon:HorizonRuntime
stop: devstack.components.horizon:HorizonRuntime
uninstall: devstack.components.horizon:HorizonUninstaller
packages:
- name: Django
removable: true
version: 1.3*
- name: django-registration
removable: true
version: 0.7*
- name: httpd
removable: true
version: 2.2*
- name: mod_wsgi
removable: true
version: 3.3*
- name: python-anyjson
removable: true
version: 0.3.*
- name: python-boto
removable: true
version: 2.0*
- name: python-cherrypy
removable: true
version: 3.2*
- name: python-cloudfiles
removable: true
version: 1.7.9*
- name: python-dateutil
removable: true
version: 1.5*
- name: python-eventlet
removable: true
version: 0.9*
- name: python-greenlet
removable: true
version: 0.3*
- name: python-httplib2
removable: true
version: 0.6*
- name: python-kombu
removable: true
version: 1.1*
- name: python-migrate
removable: true
version: 0.7*
- name: python-paste
removable: true
version: 1.7.5*
- name: python-paste-deploy
removable: true
version: 1.5.0*
- name: python-routes
removable: true
version: 1.12*
- name: python-sphinx
removable: true
version: 1.0.7*
- name: python-sqlalchemy
removable: true
version: 0.7*
- name: python-webob
removable: true
version: 1.0*
- name: pyxattr
removable: true
version: 0.5*
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: MySQL-python
removable: true
version: 1.2*
- name: cyrus-sasl-lib
removable: false
version: 2.1*
- name: cyrus-sasl-devel
removable: false
version: 2.1*
- name: openldap
removable: false
version: 2.4*
- name: openldap-devel
removable: false
version: 2.4*
- name: python-eventlet
removable: true
version: 0.9*
- name: python-greenlet
removable: true
version: 0.3.1*
- name: python-lxml
removable: true
version: 2.3*
- name: python-migrate
removable: true
version: 0.7*
- name: python-passlib
removable: true
version: 1.5*
- name: python-paste
removable: true
version: 1.7.5*
- name: python-paste-deploy
removable: true
version: 1.5*
- name: python-paste-script
removable: true
version: 1.7*
- name: python-prettytable
removable: true
version: 0.5*
- name: python-routes
removable: true
version: 1.12*
- name: python-sqlalchemy
removable: true
version: 0.7*
- name: python-sqlite2
removable: true
version: 2.3*
- name: python-webob
removable: true
version: 1.0*
- name: sqlite
removable: false
version: 3.7*
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-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: null
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: numpy
removable: false
version: 1.6*
nova:
action_classes:
install: devstack.distros.fedora16:NovaInstaller
start: devstack.components.nova:NovaRuntime
stop: devstack.components.nova:NovaRuntime
uninstall: devstack.components.nova:NovaUninstaller
packages:
- name: MySQL-python
removable: true
version: 1.2*
- name: dnsmasq
removable: false
version: 2.5*
- name: dnsmasq-utils
removable: false
version: 2.5*
- name: ebtables
removable: false
version: 2.0*
- name: iptables
removable: false
version: 1.4*
# iputils includes arping for Fedora
- name: iputils
removable: false
version: 20101006*
- name: kpartx
removable: false
version: 0.4*
- name: libxml2-python
removable: false
version: 2.7*
- name: parted
removable: false
version: 3.0*
- 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: false
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.1*
- name: python-kombu
removable: true
version: 1.1*
- name: python-lockfile
removable: true
version: 0.9*
- name: python-lxml
removable: true
version: 2.3*
- name: python-netaddr
removable: true
version: 0.7*
- name: python-paramiko
removable: true
version: 1.7.7*
- name: python-paste
removable: true
version: 1.7.5*
- name: python-paste-deploy
removable: true
version: 1.5*
- name: python-routes
removable: true
version: 1.12*
- name: python-suds
removable: true
version: 0.4*
- name: pyxattr
removable: true
version: 0.5*
- name: socat
removable: true
version: 1.7*
- name: sqlite
removable: false
version: 3.7*
- name: vconfig
removable: false
version: 1.9*
pips:
- name: Paste
version: 1.7.5.1
- name: PasteDeploy
version: '1.5'
- name: PasteScript
version: 1.7.5
- name: Routes
version: 1.12.3
- name: SQLAlchemy
version: 0.7.5
- name: Tempita
options: --upgrade
version: 0.5dev
- name: iso8601
version: 0.1.4
- name: pycrypto
options: --upgrade
version: '2.5'
- name: sqlalchemy-migrate
version: 0.7.2
subsystems:
api:
packages:
- name: python-dateutil
removable: false
version: 1.5*
cpu:
packages:
- name: iscsi-initiator-utils
removable: true
version: 6.2*
- name: libguestfs
removable: true
version: 1.16*
#TODO(mikeyp) libguestfs-mount 1.12 is what fedora
# provides - seems old compared to libguestfs v 1.16
- name: libguestfs-mount
removable: true
version: 1.12*
- name: libguestfs-tools
removable: true
version: 1.16*
- name: libvirt
removable: true
version: 0.9.6*
- name: libvirt-client
removable: true
version: 0.9.6*
- name: libvirt-python
removable: true
version: 0.9.6*
- name: lvm2
removable: true
version: 2.02*
- name: qemu-img
removable: true
version: 0.15*
- name: qemu-kvm
removable: true
version: 0.15*
- name: qemu-system-x86
removable: true
version: 0.15*
vol:
packages:
- name: iscsi-initiator-utils
removable: true
version: 6.2*
- name: lvm2
removable: true
version: 2.02*
- name: scsi-target-utils
removable: true
version: 1.0*
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-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: libxml2-python
removable: false
version: 2.7*
# TODO(mikeyp) verify libxml2-python is really needed in addition
# to libxml2-python.
- name: python-lxml
removable: true
version: 2.3*
- 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-paste
removable: true
version: 1.7*
- name: python-paste-deploy
removable: true
version: 1.5*
- name: python-routes
removable: true
version: 1.12*
pips:
- name: Paste
version: 1.7.5.1
- name: PasteDeploy
version: '1.5'
- name: PasteScript
version: 1.7.5
- name: Routes
version: 1.12.3
- name: SQLAlchemy
version: 0.7.5
- name: sqlalchemy-migrate
version: 0.7.2
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
pre-install:
- cmd:
- service
- qpidd
- stop
run_as_root: true
- cmd:
- chkconfig
- qpidd
- 'off'
ignore_failure: true
run_as_root: true
removable: true
version: 2.6*
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-paste-deploy
removable: true
version: 1.5*
# TODO(mikeyp) resolve python-simplejson, listed in devstack
# is it really needed ?
- name : python-simplejson
version: 2.1.6*
removable: true
- name: python-webob
removable: true
version: 1.0*
- name: pyxattr
removable: true
version: 0.5*
- name: sqlite
removable: true
version: 3.7*
- name: xfsprogs
removable: true
version: 3.1*
packager_name: devstack.packaging.yum:YumPackager
...