Skip to content

Commit

Permalink
Merge pull request #9083 from joshcooper/renew-terminology
Browse files Browse the repository at this point in the history
(maint) Print that client cert was renewed
  • Loading branch information
mhashizume committed Jul 6, 2023
2 parents 87956a7 + c9cbf01 commit 2052c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/ssl/state_machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def next_state
)
@cert_provider.save_client_cert(Puppet[:certname], cert)

Puppet.info(_("Refreshed client certificate: %{cert_digest}, not before '%{not_before}', not after '%{not_after}'") % { cert_digest: @machine.digest_as_hex(cert.to_pem), not_before: cert.not_before, not_after: cert.not_after })
Puppet.info(_("Renewed client certificate: %{cert_digest}, not before '%{not_before}', not after '%{not_after}'") % { cert_digest: @machine.digest_as_hex(cert.to_pem), not_before: cert.not_before, not_after: cert.not_after })

Done.new(@machine, next_ctx)
rescue Puppet::HTTP::ResponseError => e
Expand Down

0 comments on commit 2052c18

Please sign in to comment.