From a21b481b00acd2169eb1a90ecb547c4752904156 Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Thu, 13 Mar 2014 13:57:39 -0400 Subject: 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 Signed-off-by: Bruce Ashfield --- meta-openstack-controller-deploy/classes/hosts.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-openstack-controller-deploy/classes') diff --git a/meta-openstack-controller-deploy/classes/hosts.bbclass b/meta-openstack-controller-deploy/classes/hosts.bbclass index 3b83aa5..d4062b4 100644 --- a/meta-openstack-controller-deploy/classes/hosts.bbclass +++ b/meta-openstack-controller-deploy/classes/hosts.bbclass @@ -5,3 +5,4 @@ CONTROLLER_IP ?= "192.168.7.2" CONTROLLER_HOST ?= "controller" MY_IP ?= "${CONTROLLER_IP}" MY_HOST ?= "${CONTROLLER_HOST}" +DB_DATADIR ?= "/etc/postgresql" -- cgit v1.2.3-54-g00ecf