diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb index 3f04d570484..7d41b7749e9 100644 --- a/lib/puppet/defaults.rb +++ b/lib/puppet/defaults.rb @@ -2126,10 +2126,12 @@ def self.initialize_default_settings!(settings) can produce node information. The command must: * Take the name of a node as a command-line argument. + * Return a YAML hash with up to three keys: * `classes` --- A list of classes, as an array or hash. * `environment` --- A string. * `parameters` --- A list of top-scope variables to set, as a hash. + * For unknown nodes, exit with a non-zero exit code. Generally, an ENC script makes requests to an external data source. diff --git a/lib/puppet/reference/configuration.rb b/lib/puppet/reference/configuration.rb index 66cd7f801bf..33117c6ce6f 100644 --- a/lib/puppet/reference/configuration.rb +++ b/lib/puppet/reference/configuration.rb @@ -95,6 +95,5 @@ [confguide]: https://puppet.com/docs/puppet/latest/config_about_settings.html - * * * EOT diff --git a/man/man5/puppet.conf.5 b/man/man5/puppet.conf.5 index bc115bf7a61..7afec651036 100644 --- a/man/man5/puppet.conf.5 +++ b/man/man5/puppet.conf.5 @@ -689,6 +689,7 @@ This setting\'s value must be the path to an executable command that can produce Take the name of a node as a command\-line argument\. . .IP "\(bu" 4 +Return a YAML hash with up to three keys: . .IP "\(bu" 4 \fBclasses\fR \-\-\- A list of classes, as an array or hash\.