Change default keymaster api_class to 'barbican'

There's a stevedore entry point for the barbican class, so
it resolves to the Python class
castellan.key_manager.barbican_key_manager.BarbicanKeyManager.

Using the entry point removes a Stevedore warning in the logs.

Change-Id: I8d5ca649987b0058b7a9f2483057d463f97fcbad
This commit is contained in:
Thomas Goirand 2018-11-09 14:35:39 +01:00
parent 79f51081ce
commit 072bdc5edf

View File

@ -5,7 +5,7 @@
# [*api_class*] # [*api_class*]
# (Required) String. The api_class tells Castellan which key manager to # (Required) String. The api_class tells Castellan which key manager to
# use to access the external key management system. The default value that # use to access the external key management system. The default value that
# accesses Barbican is # accesses Barbican is 'barbican', which resolve to
# castellan.key_manager.barbican_key_manager.BarbicanKeyManager. # castellan.key_manager.barbican_key_manager.BarbicanKeyManager.
# #
# [*key_id*] # [*key_id*]
@ -66,7 +66,7 @@
# #
class swift::keymaster( class swift::keymaster(
$api_class = 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager', $api_class = 'barbican',
$key_id = undef, $key_id = undef,
$username = 'swift', $username = 'swift',
$password = undef, $password = undef,