Merge "Add parameter for setting horizon session timeout"

This commit is contained in:
Zuul 2020-09-28 18:35:45 +00:00 committed by Gerrit Code Review
commit 619eda0663
2 changed files with 12 additions and 0 deletions

View File

@ -68,6 +68,10 @@ parameters:
description: Set CSRF_COOKIE_SECURE / SESSION_COOKIE_SECURE in Horizon
type: boolean
default: false
HorizonSessionTimeout:
description: Set session timeout for horizon in seconds
type: number
default: 1800
MemcachedIPv6:
default: false
description: Enable IPv6 features in Memcached.
@ -205,6 +209,7 @@ outputs:
- {get_param: HorizonSecret}
- {get_param: [DefaultPasswords, horizon_secret]}
horizon::secure_cookies: {get_param: [HorizonSecureCookies]}
horizon::session_timeout: {get_param: HorizonSessionTimeout}
memcached_ipv6: {if: [is_ipv6, true, false]}
horizon::servername:
str_replace:

View File

@ -0,0 +1,7 @@
---
features:
- |
Add a Heat parameter `HorizonSessionTimeout` to expose Puppet variable
`horizon::session_timeout`, so operators can configure session timeout
of horizon in seconds. It currently defaults to `1800` seconds.