summaryrefslogtreecommitdiffstats
path: root/meta-openstack-qemu
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-10-04 00:27:53 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-10-04 13:16:33 -0400
commit608fa75973c111c61cf55e99cf3172ff3f3f00b1 (patch)
treefa3b3a3d457dc1daafdefa5c100379bcf3de1928 /meta-openstack-qemu
parent6806482a7ba6f020b0cff44b2b797eede2b702af (diff)
downloadmeta-cloud-services-608fa75973c111c61cf55e99cf3172ff3f3f00b1.tar.gz
postgresql: unify startup and initialization
Since we can't count on package postinst order, many components check for a configured postgresql daemon, and if not found, initialize it. Rather than sprinkling the knowledge of how to initialize the database through all these packages, we create a more robust, central postgresql-init script, and call it when any component needs the database configured. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack-qemu')
-rw-r--r--meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend11
-rw-r--r--meta-openstack-qemu/recipes-devtools/python/python-nova_2013.1.3.bbappend (renamed from meta-openstack-qemu/recipes-devtools/python/python-nova-compute_2013.1.3.bbappend)0
2 files changed, 0 insertions, 11 deletions
diff --git a/meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend b/meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend
deleted file mode 100644
index f45a02b..0000000
--- a/meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend
+++ /dev/null
@@ -1,11 +0,0 @@
1do_install_append() {
2 if [ ! -f "${WORKDIR}/nova.conf" ]; then
3 return
4 fi
5
6 TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME}
7 NOVA_CONF_DIR=${D}/${sysconfdir}/nova
8
9 sed -e "s:^libvirt_type.*=.*$:libvirt_type = qemu:" \
10 -i ${NOVA_CONF_DIR}/nova.conf
11} \ No newline at end of file
diff --git a/meta-openstack-qemu/recipes-devtools/python/python-nova-compute_2013.1.3.bbappend b/meta-openstack-qemu/recipes-devtools/python/python-nova_2013.1.3.bbappend
index 45f4307..45f4307 100644
--- a/meta-openstack-qemu/recipes-devtools/python/python-nova-compute_2013.1.3.bbappend
+++ b/meta-openstack-qemu/recipes-devtools/python/python-nova_2013.1.3.bbappend