diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2013-09-05 19:41:28 +0000 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2013-09-05 19:41:28 +0000 |
commit | dac16989e45aca0c39eb858572cf2b8b0901aee3 (patch) | |
tree | cb5dfc0457a60d558724c02f3bc7cd9b6b584968 /sys-cluster/cinder | |
parent | adding eventlet-0.13 for the new cinder stuff, most of openstack will probabl... (diff) | |
download | gentoo-2-dac16989e45aca0c39eb858572cf2b8b0901aee3.tar.gz gentoo-2-dac16989e45aca0c39eb858572cf2b8b0901aee3.tar.bz2 gentoo-2-dac16989e45aca0c39eb858572cf2b8b0901aee3.zip |
updating deps for distutils-r1 and ~ stuff, also adding init scripts and stuff for bug 482940
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'sys-cluster/cinder')
-rw-r--r-- | sys-cluster/cinder/ChangeLog | 13 | ||||
-rw-r--r-- | sys-cluster/cinder/cinder-2012.2.4-r2.ebuild (renamed from sys-cluster/cinder/cinder-2012.2.4-r1.ebuild) | 40 | ||||
-rw-r--r-- | sys-cluster/cinder/cinder-2013.1.3-r1.ebuild (renamed from sys-cluster/cinder/cinder-2013.1.3.ebuild) | 42 | ||||
-rw-r--r-- | sys-cluster/cinder/cinder-2013.1.9999.ebuild | 32 | ||||
-rw-r--r-- | sys-cluster/cinder/cinder-9999.ebuild | 65 | ||||
-rw-r--r-- | sys-cluster/cinder/files/cinder-confd | 3 | ||||
-rw-r--r-- | sys-cluster/cinder/files/cinder-init | 58 | ||||
-rw-r--r-- | sys-cluster/cinder/files/cinder-sudoers | 4 | ||||
-rw-r--r-- | sys-cluster/cinder/metadata.xml | 5 |
9 files changed, 212 insertions, 50 deletions
diff --git a/sys-cluster/cinder/ChangeLog b/sys-cluster/cinder/ChangeLog index e081906ed35c..2d92d3e04128 100644 --- a/sys-cluster/cinder/ChangeLog +++ b/sys-cluster/cinder/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for sys-cluster/cinder # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.15 2013/08/19 03:19:56 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.16 2013/09/05 19:41:28 prometheanfire Exp $ + +*cinder-2013.1.3-r1 (05 Sep 2013) +*cinder-2012.2.4-r2 (05 Sep 2013) + + 05 Sep 2013; Matthew Thode <prometheanfire@gentoo.org> + +cinder-2012.2.4-r2.ebuild, +cinder-2013.1.3-r1.ebuild, +files/cinder-confd, + +files/cinder-init, +files/cinder-sudoers, -cinder-2012.2.4-r1.ebuild, + -cinder-2013.1.3.ebuild, cinder-2013.1.9999.ebuild, cinder-9999.ebuild, + metadata.xml: + updating deps for distutils-r1 and ~ stuff, also adding init scripts and stuff + for bug 482940 19 Aug 2013; Matthew Thode <prometheanfire@gentoo.org> cinder-2013.1.9999.ebuild: diff --git a/sys-cluster/cinder/cinder-2012.2.4-r1.ebuild b/sys-cluster/cinder/cinder-2012.2.4-r2.ebuild index 2f3c08d04910..913d6c631183 100644 --- a/sys-cluster/cinder/cinder-2012.2.4-r1.ebuild +++ b/sys-cluster/cinder/cinder-2012.2.4-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2012.2.4-r1.ebuild,v 1.2 2013/08/19 02:41:47 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2012.2.4-r2.ebuild,v 1.1 2013/09/05 19:41:28 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -15,14 +15,15 @@ SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="+api +scheduler +volume" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-admin/sudo" RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] - ~dev-python/kombu-1.0.4 + ~dev-python/kombu-1.0.4[${PYTHON_USEDEP}] ~dev-python/lockfile-0.8 >=dev-python/lxml-2.3[${PYTHON_USEDEP}] ~dev-python/routes-1.12.3[${PYTHON_USEDEP}] @@ -39,19 +40,30 @@ RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] - >=dev-python/python-glanceclient-0.5.0 - <dev-python/python-glanceclient-2 - >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]" + >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] + <dev-python/python-glanceclient-2[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}] + >=sys-block/iscsitarget-1.4.20.2_p20130821 + sys-block/open-iscsi" -PATCHES=( -) +PATCHES=( ) + +pkg_setup() { + enewgroup cinder + enewuser cinder -1 -1 /var/lib/cinder cinder +} python_install() { distutils-r1_python_install keepdir /etc/cinder - keepdir /etc/cinder/rootwrap.d - insinto /etc/cinder + dodir /etc/cinder/rootwrap.d + newinitd "${FILESDIR}/cinder-init" "cinder" + newconfd "${FILESDIR}/cinder-confd" "cinder" + use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api + use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler + use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume + insinto /etc/cinder newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini" newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf" @@ -59,4 +71,10 @@ python_install() { newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" insinto /etc/cinder/rootwrap.d newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" + + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/cinder-sudoers" + dodir /var/log/cinder + fowners cinder:cinder /var/log/cinder } diff --git a/sys-cluster/cinder/cinder-2013.1.3.ebuild b/sys-cluster/cinder/cinder-2013.1.3-r1.ebuild index 2f9f8abe2436..a44fb5053d1c 100644 --- a/sys-cluster/cinder/cinder-2013.1.3.ebuild +++ b/sys-cluster/cinder/cinder-2013.1.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2013.1.3.ebuild,v 1.1 2013/08/11 01:17:26 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2013.1.3-r1.ebuild,v 1.1 2013/09/05 19:41:28 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -15,18 +15,20 @@ SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="+api +scheduler +volume" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +#sudo is a build dep because I want the sudoers.d directory to exist, lazy. +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-admin/sudo" -RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] +RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] >=dev-python/kombu-1.0.4[${PYTHON_USEDEP}] >=dev-python/lockfile-0.8[${PYTHON_USEDEP}] >=dev-python/lxml-2.3[${PYTHON_USEDEP}] >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] - =dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] + ~dev-python/webob-1.2.3[${PYTHON_USEDEP}] >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] dev-python/paste[${PYTHON_USEDEP}] @@ -39,21 +41,33 @@ RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] - >=dev-python/python-glanceclient-0.5.0 - <dev-python/python-glanceclient-2 - >=dev-python/python-keystoneclient-0.2.0 + >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] + <dev-python/python-glanceclient-2[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}] dev-python/python-swiftclient[${PYTHON_USEDEP}] >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] - virtual/python-argparse[${PYTHON_USEDEP}]" + virtual/python-argparse[${PYTHON_USEDEP}] + >=sys-block/iscsitarget-1.4.20.2_p20130821 + sys-block/open-iscsi" PATCHES=( ) +pkg_setup() { + enewgroup cinder + enewuser cinder -1 -1 /var/lib/cinder cinder +} + python_install() { distutils-r1_python_install keepdir /etc/cinder - keepdir /etc/cinder/rootwrap.d - insinto /etc/cinder + dodir /etc/cinder/rootwrap.d + newinitd "${FILESDIR}/cinder-init" "cinder" + newconfd "${FILESDIR}/cinder-confd" "cinder" + use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api + use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler + use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume + insinto /etc/cinder newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini" newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf" @@ -61,4 +75,10 @@ python_install() { newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" insinto /etc/cinder/rootwrap.d newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" + + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/cinder-sudoers" + dodir /var/log/cinder + fowners cinder:cinder /var/log/cinder } diff --git a/sys-cluster/cinder/cinder-2013.1.9999.ebuild b/sys-cluster/cinder/cinder-2013.1.9999.ebuild index 5ad7ed12904b..1ed379449546 100644 --- a/sys-cluster/cinder/cinder-2013.1.9999.ebuild +++ b/sys-cluster/cinder/cinder-2013.1.9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2013.1.9999.ebuild,v 1.2 2013/08/19 03:19:56 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2013.1.9999.ebuild,v 1.3 2013/09/05 19:41:28 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -16,9 +16,11 @@ EGIT_BRANCH="stable/grizzly" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="+api +scheduler +volume" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +#sudo is a build dep because I want the sudoers.d directory to exist, lazy. +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-admin/sudo" RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] @@ -45,16 +47,28 @@ RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}] dev-python/python-swiftclient[${PYTHON_USEDEP}] >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] - virtual/python-argparse[${PYTHON_USEDEP}]" + virtual/python-argparse[${PYTHON_USEDEP}] + >=sys-block/iscsitarget-1.4.20.2_p20130821 + sys-block/open-iscsi" PATCHES=( ) +pkg_setup() { + enewgroup cinder + enewuser cinder -1 -1 /var/lib/cinder cinder +} + python_install() { distutils-r1_python_install keepdir /etc/cinder - keepdir /etc/cinder/rootwrap.d - insinto /etc/cinder + dodir /etc/cinder/rootwrap.d + newinitd "${FILESDIR}/cinder-init" "cinder" + newconfd "${FILESDIR}/cinder-confd" "cinder" + use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api + use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler + use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume + insinto /etc/cinder newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini" newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf" @@ -62,4 +76,10 @@ python_install() { newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" insinto /etc/cinder/rootwrap.d newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" + + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/cinder-sudoers" + dodir /var/log/cinder + fowners cinder:cinder /var/log/cinder } diff --git a/sys-cluster/cinder/cinder-9999.ebuild b/sys-cluster/cinder/cinder-9999.ebuild index cd5c3ab6a8b9..0c9f6a80e864 100644 --- a/sys-cluster/cinder/cinder-9999.ebuild +++ b/sys-cluster/cinder/cinder-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-9999.ebuild,v 1.1 2013/04/11 07:29:34 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-9999.ebuild,v 1.2 2013/09/05 19:41:28 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -15,43 +15,61 @@ EGIT_REPO_URI="https://github.com/openstack/cinder.git" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="+api +scheduler +volume" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +#sudo is a build dep because I want the sudoers.d directory to exist, lazy. +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-admin/sudo" -RDEPEND="=dev-python/amqplib-0.6.1 - >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] - >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] - >=dev-python/kombu-1.0.4[${PYTHON_USEDEP}] - >=dev-python/lockfile-0.8 +RDEPEND=">=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] + >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] + >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] + >=dev-python/lockfile-0.8[${PYTHON_USEDEP}] >=dev-python/lxml-2.3[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] - =dev-python/webob-1.2.3 - >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] + >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] + <dev-python/pbr-1.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/webob-1.2.3[${PYTHON_USEDEP}] + <dev-python/webob-1.3[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] dev-python/paste[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-0.7.3 - <=dev-python/sqlalchemy-0.7.9 + >=dev-python/sqlalchemy-0.7.8 + <=dev-python/sqlalchemy-0.7.99 >=dev-python/sqlalchemy-migrate-0.7.2 - >=dev-python/stevedore-0.8 + >=dev-python/stevedore-0.10 >=dev-python/suds-0.4 - dev-python/paramiko[${PYTHON_USEDEP}] + >=dev-python/paramiko-1.8.0[${PYTHON_USEDEP}] >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] - >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] - >=dev-python/python-glanceclient-0.5.0 - <dev-python/python-glanceclient-2 - >=dev-python/python-keystoneclient-0.2.0 - dev-python/python-swiftclient[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-0.3.0[${PYTHON_USEDEP}] + >=dev-python/python-swiftclient-1.5[${PYTHON_USEDEP}] >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] - virtual/python-argparse[${PYTHON_USEDEP}]" + virtual/python-argparse[${PYTHON_USEDEP}] + >=sys-block/iscsitarget-1.4.20.2_p20130821 + sys-block/open-iscsi" PATCHES=( ) +pkg_setup() { + enewgroup cinder + enewuser cinder -1 -1 /var/lib/cinder cinder +} + python_install() { distutils-r1_python_install + newinitd "${FILESDIR}/cinder-init" "cinder" + newconfd "${FILESDIR}/cinder-confd" "cinder" + use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api + use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler + use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume + keepdir /etc/cinder - keepdir /etc/cinder/rootwrap.d + dodir /etc/cinder/rootwrap.d insinto /etc/cinder newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" @@ -61,4 +79,9 @@ python_install() { newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" insinto /etc/cinder/rootwrap.d newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/cinder-sudoers" + dodir /var/log/cinder + fowners cinder:cinder /var/log/cinder } diff --git a/sys-cluster/cinder/files/cinder-confd b/sys-cluster/cinder/files/cinder-confd new file mode 100644 index 000000000000..d09928c17c9c --- /dev/null +++ b/sys-cluster/cinder/files/cinder-confd @@ -0,0 +1,3 @@ +#Don't touch this unless you know what you are doing +PID_PATH=/run/cinder + diff --git a/sys-cluster/cinder/files/cinder-init b/sys-cluster/cinder/files/cinder-init new file mode 100644 index 000000000000..4c6969ec4c46 --- /dev/null +++ b/sys-cluster/cinder/files/cinder-init @@ -0,0 +1,58 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +BASENAME=$(echo $SVCNAME | cut -d '-' -f 1) +SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2) + +depend() { + need net +} + +checkconfig() { + if [ ! -r /etc/conf.d/$BASENAME ]; then + eerror "No cinder conf.d file found: /etc/conf.d/$BASENAME)" + return 1 + fi + return 0 +} + +start() { + checkconfig || return $? + . /etc/conf.d/$BASENAME + + ebegin "Starting ${SVCNAME}" + if [ ! -d ${PID_PATH} ]; then + mkdir ${PID_PATH} + chown cinder:root ${PID_PATH} + fi + + start-stop-daemon --start \ + --quiet \ + --user cinder \ + --pidfile "${PID_PATH}/${SVCNAME}.pid" \ + --make-pidfile \ + --background \ + --exec /usr/bin/cinder-${SERVERNAME} -- --config-file /etc/cinder/cinder.conf --log-file /var/log/cinder/cinder-${SERVERNAME} + + eend $? "Failed to start ${SVCNAME}" +} + +stop() { + checkconfig || return $? + . /etc/conf.d/$BASENAME + + ebegin "Stopping ${SVCNAME}" + + start-stop-daemon --stop \ + --quiet \ + --user cinder \ + --pidfile "${PID_PATH}/${SVCNAME}.pid" \ + --exec /usr/bin/cinder-${SERVERNAME} -- --config-file /etc/cinder/cinder.conf + + eend $? "Failed to stop ${SVCNAME}" +} + +#restart() { +# +#} diff --git a/sys-cluster/cinder/files/cinder-sudoers b/sys-cluster/cinder/files/cinder-sudoers new file mode 100644 index 000000000000..f44bab4a5778 --- /dev/null +++ b/sys-cluster/cinder/files/cinder-sudoers @@ -0,0 +1,4 @@ +Defaults:cinder !requiretty + +cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap + diff --git a/sys-cluster/cinder/metadata.xml b/sys-cluster/cinder/metadata.xml index f3ed38a15db9..4388df02aa5d 100644 --- a/sys-cluster/cinder/metadata.xml +++ b/sys-cluster/cinder/metadata.xml @@ -9,5 +9,10 @@ Cinder is the OpenStack Block storage service. This is a spin out of nova-volumes. </longdescription> + <use> + <flag name="api">Installs the initscripts for the cinder api service</flag> + <flag name="scheduler">Installs the initscripts for the cinder scheduler service</flag> + <flag name="volume">Installs the initscripts for the cinder volume service</flag> + </use> </pkgmetadata> |