anvil/conf/distros/rhel-6.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

670 lines
20 KiB
YAML

---
# RedHat Enterprise Linux 6
name: rhel-6
distro_pattern: redhat-6(.*)
packager_name: devstack.packaging.yum:YumPackager
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.rhel6:DBInstaller
start: devstack.components.db:DBRuntime
stop: devstack.components.db:DBRuntime
uninstall: devstack.components.db:DBUninstaller
packages:
- name: mysql
removable: true
version: 5.1*
- name: mysql-server
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: coreutils
removable: false
version: 8.4*
- name: curl
removable: false
version: 7.19.7*
- meta:
epel: true
name: euca2ools
removable: false
version: 1.3.1*
- name: gawk
removable: false
version: 3.1*
- name: git
removable: false
version: 1.7*
- name: iputils
removable: false
version: 20071127*
- name: libxml2-devel
removable: false
version: 2.7*
- name: libxslt-devel
removable: false
version: 1.1.26*
- name: lsof
removable: false
version: 4.82*
- name: mlocate
removable: false
version: 0.22*
- name: openssh-server
removable: false
version: 5.3*
- name: psmisc
removable: false
version: 22.6*
- meta:
epel: true
name: pylint
removable: false
version: 0.21*
- name: python
removable: false
version: 2.6*
- name: python-devel
removable: false
version: 2.6*
- meta:
epel: true
name: python-distutils-extra
removable: false
version: 2.29*
- meta:
epel: true
name: python-mox
removable: false
version: 0.5.3*
- meta:
epel: true
name: python-pep8
removable: false
version: 0.6*
- meta:
epel: true
name: python-pip
removable: false
version: 0.8*
- name: python-setuptools
removable: false
version: 0.6.10*
- meta:
epel: true
name: python-unittest2
removable: false
version: 0.5.1*
- meta:
epel: true
name: python-virtualenv
removable: false
version: 1.7*
- name: screen
removable: false
version: 4.0.3*
- name: sudo
removable: false
version: 1.7.4*
- name: tcpdump
removable: false
version: 4.0*
- name: unzip
removable: false
version: 6.0*
- name: wget
removable: false
version: 1.12*
pips:
- name: coverage
version: 3.5.1
- name: mock
version: 0.8.0
- name: nose
version: 1.1.2
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*
- meta:
epel: true
name: python-argparse
removable: true
version: 1.2*
- name: python-dateutil
removable: true
version: 1.4*
- meta:
epel: true
name: python-eventlet
removable: true
version: 0.9*
- meta:
epel: true
name: python-greenlet
removable: true
version: 0.3.1*
- meta:
epel: true
name: python-httplib2
removable: true
version: 0.7*
- meta:
epel: true
name: python-prettytable
removable: true
version: 0.5*
- meta:
epel: true
name: pyxattr
removable: true
version: 0.5*
pips:
- name: PasteDeploy
version: 1.5.0
- name: Routes
version: 1.12.3
- name: SQLAlchemy
version: 0.7.5
- name: iso8601
version: 0.1.4
- name: pycrypto
options: --upgrade
version: '2.5'
horizon:
action_classes:
install: devstack.distros.rhel6:HorizonInstaller
start: devstack.components.horizon:HorizonRuntime
stop: devstack.components.horizon:HorizonRuntime
uninstall: devstack.components.horizon:HorizonUninstaller
packages:
- name: httpd
removable: true
version: 2.2*
- name: mod_wsgi
removable: true
version: 3.2*
- name: python-dateutil
removable: true
version: 1.4*
- meta:
epel: true
name: python-eventlet
removable: true
version: 0.9*
- meta:
epel: true
name: python-kombu
removable: true
version: 1.1*
- meta:
epel: true
name: python-webob1.0
removable: true
version: 1.0*
packager_name: devstack.distros.rhel6:YumPackagerWithRelinks
packager_options:
links:
- source: /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/
target: /usr/lib/python2.6/site-packages/webob
pips:
- name: CherryPy
version: 3.2.2
- 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: django
version: 1.3.1
- name: django-mailer
version: 0.1.0
- name: django-nose
version: 0.1.3
- name: django-nose-selenium
version: 0.7.3
- name: django-registration
version: '0.7'
- name: django-staticfiles
version: 1.1.2
- name: pycrypto
options: --upgrade
version: '2.5'
- name: python-cloudfiles
version: 1.7.9.3
- name: sqlalchemy-migrate
version: 0.7.2
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: openldap
removable: false
version: 2.4*
- name: openldap-devel
removable: true
version: 2.4*
- meta:
epel: true
name: python-argparse
removable: true
version: 1.2*
- meta:
epel: true
name: python-eventlet
removable: true
version: 0.9*
- meta:
epel: true
name: python-greenlet
removable: true
version: 0.3.1*
- name: python-lxml
removable: true
version: 2.2*
- meta:
epel: true
name: python-passlib
removable: true
version: 1.5*
- meta:
epel: true
name: python-prettytable
removable: true
version: 0.5*
- meta:
epel: true
name: python-sqlite2
removable: true
version: 2.3*
- meta:
epel: true
name: python-webob1.0
removable: true
version: 1.0*
- name: sqlite
removable: false
version: 3.6*
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: py-bcrypt
version: '0.2'
- name: pycrypto
options: --upgrade
version: '2.5'
- name: sqlalchemy-migrate
version: 0.7.2
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:
- meta:
epel: true
name: python-argparse
removable: true
version: 1.2*
- meta:
epel: true
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
no-vnc:
action_classes:
install: devstack.components.novnc:NoVNCInstaller
start: devstack.components.novnc:NoVNCRuntime
stop: devstack.components.novnc:NoVNCRuntime
uninstall: devstack.components.novnc:NoVNCUninstaller
pips:
- name: numpy
version: '1.5'
nova:
action_classes:
install: devstack.distros.rhel6: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.48*
- name: ebtables
removable: false
version: 2.0*
- name: iptables
removable: false
version: 1.4*
- name: iputils
removable: false
version: 20071127*
- name: kpartx
removable: false
version: 0.4*
- name: libxml2-python
removable: false
version: 2.7*
- name: parted
removable: false
version: 2.1*
- meta:
epel: true
name: python-boto
removable: true
version: 2.0*
- meta:
epel: true
name: python-carrot
removable: true
version: 0.10*
- name: python-cheetah
removable: true
version: 2.4*
- name: python-crypto
removable: false
version: 2.0*
- meta:
epel: true
name: python-eventlet
removable: true
version: 0.9*
- meta:
epel: true
name: python-feedparser
removable: true
version: 5.0*
- meta:
epel: true
name: python-gflags
removable: true
version: 1.4*
- meta:
epel: true
name: python-greenlet
removable: true
version: 0.3.1*
- meta:
epel: true
name: python-kombu
removable: true
version: 1.1*
- meta:
epel: true
name: python-lockfile
removable: true
version: 0.8*
- name: python-lxml
removable: true
version: 2.2*
- name: python-netaddr
removable: true
version: 0.7*
- name: python-suds
removable: true
version: 0.4*
- meta:
epel: true
name: pyxattr
removable: true
version: 0.5*
- meta:
epel: true
name: socat
removable: true
version: 1.7*
- name: sqlite
removable: false
version: 3.6*
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.4*
cpu:
packages:
- name: iscsi-initiator-utils
removable: true
version: 6.2*
- name: libguestfs
removable: true
version: 1.7*
- name: libguestfs-mount
removable: true
version: 1.7.17*
- name: libguestfs-tools
removable: true
version: 1.7.17*
- name: libvirt
removable: true
version: 0.9.4*
- name: libvirt-client
removable: true
version: 0.9.4*
- name: libvirt-python
removable: true
version: 0.9.4*
- name: lvm2
removable: true
version: 2.02*
- name: qemu-img
removable: true
version: 0.12*
- name: qemu-kvm
removable: true
version: 2*
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:
- meta:
epel: true
name: python-argparse
removable: true
version: 1.2*
- meta:
epel: true
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*
- meta:
epel: true
name: python-eventlet
removable: true
version: 0.9*
- meta:
epel: true
name: python-gflags
removable: true
version: 1.4*
- meta:
epel: true
name: python-greenlet
removable: true
version: 0.3.1*
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:
- meta:
epel: true
name: python-gflags
removable: true
version: 1.4*
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:
- meta:
epel: true
name: rabbitmq-server
pre-install:
- cmd:
- service
- qpidd
- stop
ignore_failure: true
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
...