diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-04 00:27:53 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-04 13:16:33 -0400 |
commit | 608fa75973c111c61cf55e99cf3172ff3f3f00b1 (patch) | |
tree | fa3b3a3d457dc1daafdefa5c100379bcf3de1928 /meta-openstack-qemu | |
parent | 6806482a7ba6f020b0cff44b2b797eede2b702af (diff) | |
download | meta-cloud-services-608fa75973c111c61cf55e99cf3172ff3f3f00b1.tar.gz meta-cloud-services-608fa75973c111c61cf55e99cf3172ff3f3f00b1.tar.bz2 meta-cloud-services-608fa75973c111c61cf55e99cf3172ff3f3f00b1.zip |
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.bbappend | 11 | ||||
-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 @@ -do_install_append() { - if [ ! -f "${WORKDIR}/nova.conf" ]; then - return - fi - - TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME} - NOVA_CONF_DIR=${D}/${sysconfdir}/nova - - sed -e "s:^libvirt_type.*=.*$:libvirt_type = qemu:" \ - -i ${NOVA_CONF_DIR}/nova.conf -}
\ 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 |