Skip to content

Commit ef22dc8

Browse files
committed
Render man/man5/puppetconf.5 correctly
Previously, `rake genmanpages` generated warnings when converting ronn to man: roff: ./man/man5/puppetconf.5 warn: unrecognized block tag: "hr" warn: unexpected text: "Return a YAML hash with up to three keys:" The first warning was because definition lists need to have a space between each item. As a result the entire line "Return a YAML hash with up to three keys" was omitted from the output. The second warning was because '* * *' is not valid in ronn.
1 parent d20cc43 commit ef22dc8

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

lib/puppet/defaults.rb

+2
Original file line numberDiff line numberDiff line change
@@ -2126,10 +2126,12 @@ def self.initialize_default_settings!(settings)
21262126
can produce node information. The command must:
21272127
21282128
* Take the name of a node as a command-line argument.
2129+
21292130
* Return a YAML hash with up to three keys:
21302131
* `classes` --- A list of classes, as an array or hash.
21312132
* `environment` --- A string.
21322133
* `parameters` --- A list of top-scope variables to set, as a hash.
2134+
21332135
* For unknown nodes, exit with a non-zero exit code.
21342136
21352137
Generally, an ENC script makes requests to an external data source.

lib/puppet/reference/configuration.rb

-1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@
9595
9696
[confguide]: https://puppet.com/docs/puppet/latest/config_about_settings.html
9797
98-
* * *
9998
10099
EOT

man/man5/puppet.conf.5

+1
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ This setting\'s value must be the path to an executable command that can produce
689689
Take the name of a node as a command\-line argument\.
690690
.
691691
.IP "\(bu" 4
692+
Return a YAML hash with up to three keys:
692693
.
693694
.IP "\(bu" 4
694695
\fBclasses\fR \-\-\- A list of classes, as an array or hash\.

0 commit comments

Comments
 (0)