@@ -7,6 +7,7 @@ def self.default_diffargs
7
7
'-u'
8
8
end
9
9
10
+ # If you modify this, update puppet/type/file/checksum.rb too
10
11
def self . default_digest_algorithm
11
12
'sha256'
12
13
end
@@ -161,9 +162,8 @@ def self.initialize_default_settings!(settings)
161
162
:skip_logging_catalog_request_destination => {
162
163
:default => false ,
163
164
:type => :boolean ,
164
- :desc => "Disables \" notice\" level messages specifying which server the
165
- agent requests a catalog from and which server actually handles
166
- the request." ,
165
+ :desc => "Specifies whether to suppress the notice of which compiler
166
+ supplied the catalog. A value of `true` suppresses the notice." ,
167
167
} ,
168
168
:merge_dependency_warnings => {
169
169
:default => false ,
@@ -418,13 +418,15 @@ def self.initialize_default_settings!(settings)
418
418
:type => :boolean ,
419
419
:default => true ,
420
420
:desc => <<-'EOT'
421
- When versioned_environment_dirs is `true` Puppet will readlink the environmentpath
422
- when constructing the environment's modulepath. The full readlinked path is referred
423
- to as the "resolved path" and the configured path potentially containing symlinks is
424
- the "configured path". When reporting where resources come from users may choose
425
- between the configured or resolved path.
426
-
427
- When set to false, the resolved paths are reported instead of the configured paths.
421
+ Specifies how environment paths are reported. When the value of
422
+ `versioned_environment_dirs` is `true`, Puppet applies the readlink function to
423
+ the `environmentpath` setting when constructing the environment's modulepath. The
424
+ full readlinked path is referred to as the "resolved path," and the configured
425
+ path potentially containing symlinks is the "configured path." When reporting
426
+ where resources come from, users may choose between the configured and resolved
427
+ path.
428
+
429
+ When set to `false`, the resolved paths are reported instead of the configured paths.
428
430
EOT
429
431
} ,
430
432
:use_last_environment => {
@@ -1205,33 +1207,34 @@ def self.initialize_default_settings!(settings)
1205
1207
:ca_refresh_interval => {
1206
1208
:default => "1d" ,
1207
1209
:type => :duration ,
1208
- :desc => "How often the Puppet agent refreshes its local CA certs. By
1209
- default the CA certs are refreshed once every 24 hours. If a different
1210
- duration is specified, then the agent will refresh its CA certs whenever
1211
- it next runs and the elapsed time since the certs were last refreshed
1212
- exceeds the duration.
1213
-
1214
- In general, the duration should be greater than the `runinterval`.
1215
- Setting it to 0 or an equal or lesser value than `runinterval`,
1216
- will cause the CA certs to be refreshed on every run.
1217
-
1218
- If the agent downloads new CA certs, the agent will use it for subsequent
1210
+ :desc => "How often the Puppet agent refreshes its local CA
1211
+ certificates. By default, CA certificates are refreshed every 24 hours. If a
1212
+ different interval is specified, the agent refreshes its CA certificates during
1213
+ the next agent run if the elapsed time since the certificates were last
1214
+ refreshed exceeds the specified duration.
1215
+
1216
+ In general, the interval should be greater than the `runinterval`
1217
+ value. Setting the `ca_refresh_interval` value to 0 or an equal or
1218
+ lesser value than `runinterval` causes the CA certificates to be
1219
+ refreshed on every run.
1220
+
1221
+ If the agent downloads new CA certs, the agent uses those for subsequent
1219
1222
network requests. If the refresh request fails or if the CA certs are
1220
1223
unchanged on the server, then the agent run will continue using the
1221
1224
local CA certs it already has. #{ AS_DURATION } " ,
1222
1225
} ,
1223
1226
:crl_refresh_interval => {
1224
1227
:default => "1d" ,
1225
1228
:type => :duration ,
1226
- :desc => "How often the Puppet agent refreshes its local CRL. By
1227
- default the CRL is refreshed once every 24 hours. If a different
1228
- duration is specified, then the agent will refresh its CRL whenever
1229
- it next runs and the elapsed time since the CRL was last refreshed
1230
- exceeds the duration .
1229
+ :desc => "How often the Puppet agent refreshes its local Certificate
1230
+ Revocation List (CRL). By default, the CRL is refreshed every 24 hours. If
1231
+ a different interval is specified, the agent refreshes its CRL on the next
1232
+ Puppet agent run if the elapsed time since the CRL was last refreshed
1233
+ exceeds the specified interval .
1231
1234
1232
- In general, the duration should be greater than the `runinterval`.
1233
- Setting it to 0 or an equal or lesser value than `runinterval`,
1234
- will cause the CRL to be refreshed on every run.
1235
+ In general, the interval should be greater than the `runinterval` value .
1236
+ Setting the `crl_refresh_interval` value to 0 or an equal or lesser value
1237
+ than `runinterval` causes the CRL to be refreshed on every run.
1235
1238
1236
1239
If the agent downloads a new CRL, the agent will use it for subsequent
1237
1240
network requests. If the refresh request fails or if the CRL is
@@ -1241,18 +1244,19 @@ def self.initialize_default_settings!(settings)
1241
1244
:hostcert_renewal_interval => {
1242
1245
:default => "30d" ,
1243
1246
:type => :duration ,
1244
- :desc => "When the Puppet agent refreshes its client certificate.
1245
- By default the client certificate will refresh 30 days before the certificate
1246
- expires. If a different duration is specified, then the agent will refresh its
1247
- client certificate whenever it next runs and if the client certificate expires
1248
- within the duration specified.
1247
+ :desc => "How often the Puppet agent renews its client certificate. By
1248
+ default, the client certificate is renewed 30 days before the certificate
1249
+ expires. If a different interval is specified, the agent renews its client
1250
+ certificate during the next agent run, assuming that the client certificate has
1251
+ expired within the specified duration .
1249
1252
1250
- In general, the duration should be greater than the `runinterval`.
1251
- Setting it to 0 will disable automatic renewal.
1253
+ In general, the `hostcert_renewal_interval` value should be greater than the
1254
+ `runinterval` value. Setting the `hostcert_renewal_interval` value to 0 disables
1255
+ automatic renewal.
1252
1256
1253
- If the agent downloads a new certificate, the agent will use it for subsequent
1254
- network requests. If the refresh request fails, then the agent run will continue using the
1255
- certificate it already has . #{ AS_DURATION } " ,
1257
+ If the agent downloads a new certificate, the agent will use it
1258
+ for subsequent network requests. If the refresh request fails, the agent run
1259
+ continues to use its existing certificate . #{ AS_DURATION } " ,
1256
1260
} ,
1257
1261
:keylength => {
1258
1262
:default => 4096 ,
@@ -1493,8 +1497,10 @@ def self.initialize_default_settings!(settings)
1493
1497
:exclude_unchanged_resources => {
1494
1498
:default => true ,
1495
1499
:type => :boolean ,
1496
- :desc => 'When set to true, resources that have had no changes after catalog application
1497
- will not have corresponding unchanged resource status updates listed in the report.'
1500
+ :desc => "Specifies how unchanged resources are listed in reports. When
1501
+ set to `true`, resources that have had no changes after catalog application
1502
+ will not have corresponding unchanged resource status updates listed in a
1503
+ report."
1498
1504
} ,
1499
1505
:reportdir => {
1500
1506
:default => "$vardir/reports" ,
@@ -1746,11 +1752,12 @@ def self.initialize_default_settings!(settings)
1746
1752
:allow_pson_serialization => {
1747
1753
:default => false ,
1748
1754
:type => :boolean ,
1749
- :desc => "Whether when unable to serialize to JSON or other formats,
1750
- Puppet falls back to PSON. This option affects both puppetserver's
1751
- configuration management service responses and when the agent saves its
1752
- cached catalog. This option is useful in preventing the loss of data because
1753
- rich data cannot be serialized via PSON." ,
1755
+ :desc => "Whether to allow PSON serialization. When unable to serialize to
1756
+ JSON or other formats, Puppet falls back to PSON. This option affects the
1757
+ configuration management service responses of Puppet Server and the process by
1758
+ which the agent saves its cached catalog. With a default value of `false`, this
1759
+ option is useful in preventing the loss of data because rich data cannot be
1760
+ serialized via PSON." ,
1754
1761
} ,
1755
1762
:agent_catalog_run_lockfile => {
1756
1763
:default => "$statedir/agent_catalog_run.lock" ,
@@ -1776,7 +1783,7 @@ def self.initialize_default_settings!(settings)
1776
1783
:type => :boolean ,
1777
1784
:default => false ,
1778
1785
:desc => "Whether to include legacy facts when requesting a catalog. This
1779
- option can be set to false provided all puppet manifests, hiera.yaml and hiera
1786
+ option can be set to ` false` if all puppet manifests, hiera.yaml, and hiera
1780
1787
configuration layers no longer access legacy facts, such as `$osfamily`, and
1781
1788
instead access structured facts, such as `$facts['os']['family']`."
1782
1789
} ,
@@ -2092,12 +2099,12 @@ def self.initialize_default_settings!(settings)
2092
2099
:preprocess_deferred => {
2093
2100
:default => false ,
2094
2101
:type => :boolean ,
2095
- :desc => "Whether puppet should call deferred functions before applying
2096
- the catalog. If set to `true`, then all prerequisites needed for the
2097
- deferred function must be satisfied prior to puppet running . If set to
2098
- `false`, then deferred functions will follow puppet relationships and
2099
- ordering. This allows puppet to install prerequisites needed for a
2100
- deferred function and call the deferred function in the same run."
2102
+ :desc => "Whether Puppet should call deferred functions before applying
2103
+ the catalog. If set to `true`, all prerequisites required for the
2104
+ deferred function must be satisfied before the Puppet run . If set to
2105
+ `false`, deferred functions follow Puppet relationships and
2106
+ ordering. In this way, Puppet can install the prerequisites required for a
2107
+ deferred function and call the deferred function in the same run." ,
2101
2108
} ,
2102
2109
:summarize => {
2103
2110
:default => false ,
0 commit comments