Skip to content

Commit c9cbf01

Browse files
committed
(maint) Print that client cert was renewed
Use "renew" to describe client cert updates to avoid confusion with CA/CRL "refresh".
1 parent 87956a7 commit c9cbf01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/ssl/state_machine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def next_state
379379
)
380380
@cert_provider.save_client_cert(Puppet[:certname], cert)
381381

382-
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 })
382+
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 })
383383

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

0 commit comments

Comments
 (0)