Disabling replacing fernet keys from puppet
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 11 May 2017 07:45:45 +0000 (10:45 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 11 May 2017 07:45:45 +0000 (10:45 +0300)
Once puppet has written the initial fernet keys, if a deployer wants to
rotate them, the keys will be overwritten when another overcloud deploy
is executed (for instance, for updates or upgrades). This disables
replacing this keys via puppet, so now the operator can rotate the keys
out of band.

Change-Id: I01fd46ba7c5e0db12524095dc9fe29e90cb0de57

puppet/services/keystone.yaml

index 58b2b7b..c42b053 100644 (file)
@@ -231,6 +231,7 @@ outputs:
                 content: {get_param: KeystoneFernetKey0}
               '/etc/keystone/fernet-keys/1':
                 content: {get_param: KeystoneFernetKey1}
+            keystone::fernet_replace_keys: false
             keystone::debug: {get_param: Debug}
             keystone::rabbit_userid: {get_param: RabbitUserName}
             keystone::rabbit_password: {get_param: RabbitPassword}