diff options
author | 2017-11-24 13:54:26 +0100 | |
---|---|---|
committer | 2017-11-24 13:54:26 +0100 | |
commit | 920a49cfa055733d575282973e23558c33087a4a (patch) | |
tree | d371dab34efa5028600dad2e7ca58063626e7ba4 /keystone-moon/debian/keystone.cron.hourly | |
parent | ef3eefca70d8abb4a00dafb9419ad32738e934b2 (diff) |
remove keystone-moon
Change-Id: I80d7c9b669f19d5f6607e162de8e0e55c2f80fdd
Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'keystone-moon/debian/keystone.cron.hourly')
-rw-r--r-- | keystone-moon/debian/keystone.cron.hourly | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/keystone-moon/debian/keystone.cron.hourly b/keystone-moon/debian/keystone.cron.hourly deleted file mode 100644 index b372e9d1..00000000 --- a/keystone-moon/debian/keystone.cron.hourly +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -set -e - -if [ -x /usr/bin/keystone-manage ] ; then - # We should only run token_flush if we're using uuid tokens. - PROVIDER=$(grep -E '^[ \t]*provider[ \t]*=' /etc/keystone/keystone.conf | true) - if [ -n "${PROVIDER}" ] ; then - PROVIDER=$(grep -E '^[ \t]*provider[ \t]*=' /etc/keystone/keystone.conf | sed -e 's/[ \t]*provider[ \t]*=//' | awk '{print $1}') - else - PROVIDER=uuid - fi - if [ "${PROVIDER}" = "uuid" ] ; then - su -c '/usr/bin/keystone-manage token_flush >/var/log/keystone/keystone-tokenflush.log 2>&1' keystone - fi -fi |