Fix token_flush command

keystone-manage is using token_flush and not token-flush. Also
stdout and stderr redirection has been fixed.

Change-Id: Ia35574be51c415c49f80276b510caca1ab0b994f
This commit is contained in:
Martin Magr
2014-01-30 17:47:13 +01:00
parent 85033036a2
commit b9b500d44e

View File

@@ -20,7 +20,7 @@ class {"keystone::endpoint":
# Run token flush every minute (without output so we won't spam admins)
cron { 'token-flush':
ensure => 'present',
command => '/usr/bin/keystone-manage token-flush 2>&1 >/dev/null',
command => '/usr/bin/keystone-manage token_flush >/dev/null 2>&1',
minute => '*/1',
} -> service { 'crond':
ensure => 'running',