File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1248,6 +1248,22 @@ def self.initialize_default_settings!(settings)
12481248 unchanged on the server, then the agent run will continue using the
12491249 local CRL it already has.#{ AS_DURATION } " ,
12501250 } ,
1251+ :hostcert_renewal_interval => {
1252+ :default => "30d" ,
1253+ :type => :duration ,
1254+ :desc => "How often the Puppet agent refreshes its client certificate.
1255+ By default the client certificate is refreshed once every 30 days. If
1256+ a different duration is specified, then the agent will refresh its
1257+ client certificate whenever it next runs and the elapsed time since the
1258+ client certificate was last refreshed exceeds the duration.
1259+
1260+ In general, the duration should be greater than the `runinterval`.
1261+ Setting it to 0 will disable automatic renewal.
1262+
1263+ If the agent downloads a new certificate, the agent will use it for subsequent
1264+ network requests. If the refresh request fails, then the agent run will continue using the
1265+ certificate it already has. #{ AS_DURATION } " ,
1266+ } ,
12511267 :keylength => {
12521268 :default => 4096 ,
12531269 :type => :integer ,
You can’t perform that action at this time.
0 commit comments