aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack-compute-deploy
diff options
context:
space:
mode:
authorAmy Fong <Amy.Fong@windriver.com>2014-03-13 13:57:39 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-15 00:42:00 -0400
commita21b481b00acd2169eb1a90ecb547c4752904156 (patch)
tree32e4c582c282d53d458ade1301d74d96b5b1c2f1 /meta-openstack-compute-deploy
parent13b70dd07c8c2cdd799bd4b1f725157401b34068 (diff)
downloadmeta-cloud-services-a21b481b00acd2169eb1a90ecb547c4752904156.tar.gz
meta-cloud-services-a21b481b00acd2169eb1a90ecb547c4752904156.tar.bz2
meta-cloud-services-a21b481b00acd2169eb1a90ecb547c4752904156.zip
OpenStack: Fix postgresql file permissions
- make database directory to be configurable, defaulting to /var/lib/postgres/data - modify init scripts to create database's data directory if it doesn't exist Signed-off-by: Amy Fong <Amy.Fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack-compute-deploy')
-rw-r--r--meta-openstack-compute-deploy/classes/hosts.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openstack-compute-deploy/classes/hosts.bbclass b/meta-openstack-compute-deploy/classes/hosts.bbclass
index 5376b02..ce96ab0 100644
--- a/meta-openstack-compute-deploy/classes/hosts.bbclass
+++ b/meta-openstack-compute-deploy/classes/hosts.bbclass
@@ -4,3 +4,4 @@ CONTROLLER_IP ?= "192.168.7.2"
CONTROLLER_HOST ?= "controller"
MY_IP ?= "${COMPUTE_IP}"
MY_HOST ?= "${COMPUTE_HOST}"
+DB_DATADIR ?= "/etc/postgresql"