aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack-controller-deploy
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-11-22 11:07:53 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-11-27 10:39:51 -0500
commit63dacc37cabf9bbb325956c577591ca5db52118d (patch)
tree6956003d6b3e8cc3aa0346344666d8c77013ac56 /meta-openstack-controller-deploy
parent8c4f65366b237ca86ca07a30fe8a68940bc6ec91 (diff)
downloadmeta-cloud-services-63dacc37cabf9bbb325956c577591ca5db52118d.tar.gz
meta-cloud-services-63dacc37cabf9bbb325956c577591ca5db52118d.tar.bz2
meta-cloud-services-63dacc37cabf9bbb325956c577591ca5db52118d.zip
postgresql: updates to get things working with systemd
Convert the sysvinit code to instead work with systemd. We are no longer able to make use of postinst scripts as we need to perform setup after the postgresql service is started, this will have 'knock-on' effects for other postinst, such as for keystone. Changing these postinst to "one time" services buys us greater control and easier readability than the postinst scripts, so overall this is a good change. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack-controller-deploy')
-rw-r--r--meta-openstack-controller-deploy/classes/hosts.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack-controller-deploy/classes/hosts.bbclass b/meta-openstack-controller-deploy/classes/hosts.bbclass
index d4062b4..07fa727 100644
--- a/meta-openstack-controller-deploy/classes/hosts.bbclass
+++ b/meta-openstack-controller-deploy/classes/hosts.bbclass
@@ -5,4 +5,4 @@ CONTROLLER_IP ?= "192.168.7.2"
CONTROLLER_HOST ?= "controller"
MY_IP ?= "${CONTROLLER_IP}"
MY_HOST ?= "${CONTROLLER_HOST}"
-DB_DATADIR ?= "/etc/postgresql"
+DB_DATADIR ?= "/etc/postgresql/data"