diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index c0522f8..56a9d0a 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb | |||
| @@ -23,6 +23,7 @@ S = "${WORKDIR}/git" | |||
| 23 | inherit setuptools update-rc.d identity hosts default_configs | 23 | inherit setuptools update-rc.d identity hosts default_configs |
| 24 | 24 | ||
| 25 | SERVICE_TOKEN = "password" | 25 | SERVICE_TOKEN = "password" |
| 26 | TOKEN_FORMAT ?= "PKI" | ||
| 26 | 27 | ||
| 27 | do_install_append() { | 28 | do_install_append() { |
| 28 | 29 | ||
| @@ -46,6 +47,8 @@ do_install_append() { | |||
| 46 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${KEYSTONE_CONF_DIR}/keystone.conf | 47 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${KEYSTONE_CONF_DIR}/keystone.conf |
| 47 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${KEYSTONE_CONF_DIR}/identity.sh | 48 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${KEYSTONE_CONF_DIR}/identity.sh |
| 48 | 49 | ||
| 50 | sed -e "s:%TOKEN_FORMAT%:${TOKEN_FORMAT}:g" -i ${KEYSTONE_CONF_DIR}/keystone.conf | ||
| 51 | |||
| 49 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 52 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 50 | install -d ${D}${sysconfdir}/init.d | 53 | install -d ${D}${sysconfdir}/init.d |
| 51 | install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone | 54 | install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone |
