File: re-add-missing-auth-options.patch

package info (click to toggle)
python-keystonemiddleware 4.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,056 kB
  • ctags: 1,073
  • sloc: python: 7,098; sh: 174; makefile: 114
file content (26 lines) | stat: -rw-r--r-- 787 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Re-add missing auth options
 Upstream went a bit quick to remove Auth options from the default generated
 config files.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2016-04-07

--- a/keystonemiddleware/auth_token/_opts.py
+++ b/keystonemiddleware/auth_token/_opts.py
@@ -15,6 +15,7 @@
 from keystoneauth1 import loading
 from oslo_config import cfg
 
+from keystonemiddleware.auth_token import _auth
 from keystonemiddleware.auth_token import _base
 
 
@@ -162,7 +163,7 @@
                 ' only while migrating from a less secure algorithm to a more'
                 ' secure one. Once all the old tokens are expired this option'
                 ' should be set to a single value for better performance.'),
-]
+] + _auth.OPTS
 
 
 CONF = cfg.CONF