Add a warning to use Fernet as token

Keystone has changed it's default token format to Fernet in
Mitaka. The Keystone bug where this was discussed and addressed is
here: https://bugs.launchpad.net/keystone/+bug/1561054

Change-Id: I75b3d641a08dd7ff6b3c096f5b945f46cec9918f
closes-bug:#1598112
This commit is contained in:
jolie 2016-07-06 15:09:35 +08:00 committed by Shan Guo
parent b9e01a1618
commit 3abfc01151
2 changed files with 7 additions and 0 deletions

View File

@ -702,6 +702,10 @@ class keystone(
include ::keystone::deps
include ::keystone::logging
if $token_provider == 'uuid' {
warning('Fernet token is recommended in Mitaka release. The default for token_provider will be changed to Fernet in O release.')
}
if $service_provider {
warning('service_provider is deprecated, does nothing and will be removed in a future release, use a Puppet resource collector if you want to modify the service provider.')
}

View File

@ -0,0 +1,3 @@
---
deprecations:
- Fernet token is recommended in Mitaka release. The default for token_provider will be changed to Fernet in O release.