Merge "Keystone/LDAP integration"
This commit is contained in:
commit
cea8a57ac3
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -eux
|
||||
|
||||
install-packages openstack-keystone
|
||||
install-packages openstack-keystone python-ldap
|
||||
|
||||
KEYSTONE_USER=keystone
|
||||
if [ "opensuse" = "$DISTRO_NAME" ]; then
|
||||
|
|
|
@ -19,6 +19,14 @@ sysctl-append-value net.ipv4.ip_local_reserved_ports 35357
|
|||
install -m 0755 -o root -g root $(dirname $0)/../cleanup-keystone-tokens.sh /usr/local/bin
|
||||
install -m 0640 -o root -g root $(dirname $0)/../keystone.crontab /etc/cron.d/keystone
|
||||
|
||||
# LDAP backend support
|
||||
if which dpkg; then
|
||||
install-packages libldap2-dev libsasl2-dev libssl-dev
|
||||
else
|
||||
install-packages openldap-devel
|
||||
fi
|
||||
$KEYSTONE_VENV_DIR/bin/pip install -U python-ldap ldappool
|
||||
|
||||
# percona-tookit is NOT supported on Fedora (retrieved 25-06-2013)
|
||||
# http://www.percona.com/mysql-support/policies/percona-toolkit-supported-platforms-and-versions
|
||||
if [[ "ubuntu rhel rhel7 centos" =~ "$DISTRO_NAME" ]]; then
|
||||
|
|
Loading…
Reference in New Issue