puppet-tripleo/spec
Ade Lee 885c540c7c Always update the local certmonger ca cert
The local certmonger cert will renew after half its lifetime, which will
be after 6 months by default.  The current code would extract the CA cert
to a PEM file (and trust it), only if the cert in the existing PEM file
was expired.

But this means that the certmonger local cert could be renewed after six
months and not be replaced in the PEM file until the existing cert
expired at the end of the year.  If certs are issued in this time, they
will not be trusted and the update will fail.

This patch removes this condition, so that the extracted and trusted cert
always matches what is in the PEM file, and what is trusted.

Note, this only place this occurs is on the undercloud - because this is
where we could use the certmonger local cert.  We assume that the haproxy
cert will be re-issued in an update.

Change-Id: If804dc369c5883eeb51f7e6dcd01ee0e5967c7cf
2021-04-06 00:16:16 -04:00
..
classes Always update the local certmonger ca cert 2021-04-06 00:16:16 -04:00
defines Revert "Remove neutron wrappers" 2020-04-30 18:47:17 +00:00
fixtures Add support for cinder-backup GCS and S3 backends 2021-03-23 09:12:54 -07:00
functions Remove the unused list_to_zookeeper_hash function 2021-03-30 16:08:05 +09:00
unit Fix wrong file names of some unit test files 2021-01-03 14:00:13 +09:00
shared_examples.rb Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
spec_helper.rb Add aodh profile rspec testing 2016-09-30 15:12:05 -06:00
spec_helper_acceptance.rb Change beaker to litmus 2020-09-09 14:09:56 +00:00