Skip to content

Commit b8ac6f4

Browse files
authored
Merge pull request #9447 from joshcooper/doc_updates2
Update docs
2 parents 19bc0de + ef22dc8 commit b8ac6f4

File tree

8 files changed

+21
-10
lines changed

8 files changed

+21
-10
lines changed

Diff for: lib/puppet/application/filebucket.rb

+6-4
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ def help
7676
use your local file bucket by specifying '--local', or by specifying
7777
'--bucket' with a local path.
7878
79-
> **Note**: Enabling and using the backup option, and by extension the
80-
filebucket resource, requires appropriate planning and management to ensure
81-
that sufficient disk space is available for the file backups. Generally, you
82-
can implement this using one of the following two options:
79+
**Note**: Enabling and using the backup option, and by extension the
80+
filebucket resource, requires appropriate planning and management to ensure
81+
that sufficient disk space is available for the file backups. Generally, you
82+
can implement this using one of the following two options:
83+
8384
- Use a `find` command and `crontab` entry to retain only the last X days
8485
of file backups. For example:
8586
@@ -187,6 +188,7 @@ def help
187188
188189
$ puppet filebucket -l -t "2015-05-11 09:30:00" list
189190
d43a6ecaa892a1962398ac9170ea9bf2 2015-05-11 09:27:56 /tmp/TestFile
191+
190192
## Manage files in a specific local filebucket
191193
$ puppet filebucket -b /tmp/TestBucket backup /tmp/TestFile2
192194
/tmp/TestFile2: d41d8cd98f00b204e9800998ecf8427e

Diff for: 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.

Diff for: lib/puppet/face/catalog.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
deactivate_action(:destroy)
2727
deactivate_action(:search)
2828
action(:find) do
29-
summary _("Retrieve the catalog for the node from which the comamand is run.")
29+
summary _("Retrieve the catalog for the node from which the command is run.")
3030
arguments "<certname>, <facts>"
3131
option("--facts_for_catalog") do
3232
summary _("Not yet implemented for the CLI; facts will be collected internally.")

Diff for: 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

Diff for: lib/puppet/util/reference.rb

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def text
8484
def to_markdown(withcontents = true)
8585
# First the header
8686
text = markdown_header(@title, 1)
87-
text << _("\n\n**This page is autogenerated; any changes will get overwritten**\n\n")
8887

8988
text << @header
9089

Diff for: man/man5/puppet.conf.5

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
.\" http://github.com/rtomayko/ronn/tree/0.7.3
33
.
44
.TH "PUPPETCONF" "5" "August 2024" "Puppet, Inc." "Puppet manual"
5-
\fBThis page is autogenerated; any changes will get overwritten\fR
65
.
76
.SH "Configuration settings"
87
.
@@ -690,6 +689,7 @@ This setting\'s value must be the path to an executable command that can produce
690689
Take the name of a node as a command\-line argument\.
691690
.
692691
.IP "\(bu" 4
692+
Return a YAML hash with up to three keys:
693693
.
694694
.IP "\(bu" 4
695695
\fBclasses\fR \-\-\- A list of classes, as an array or hash\.

Diff for: man/man8/puppet-catalog.8

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Nothing\.
109109
When used from the Ruby API, this action has a side effect of leaving Puppet::Resource::Catalog\.indirection\.terminus_class set to yaml\. The terminus must be explicitly re\-set for subsequent catalog actions\.
110110
.
111111
.TP
112-
\fBfind\fR \- Retrieve the catalog for the node from which the comamand is run\.
112+
\fBfind\fR \- Retrieve the catalog for the node from which the command is run\.
113113
\fBSYNOPSIS\fR
114114
.
115115
.IP
@@ -119,7 +119,7 @@ puppet catalog find [\-\-terminus _TERMINUS] [\-\-facts_for_catalog] \fIcertname
119119
\fBDESCRIPTION\fR
120120
.
121121
.IP
122-
Retrieve the catalog for the node from which the comamand is run\.
122+
Retrieve the catalog for the node from which the command is run\.
123123
.
124124
.IP
125125
\fBOPTIONS\fR \fI\-\-facts_for_catalog\fR \- Not yet implemented for the CLI; facts will be collected internally\.

Diff for: man/man8/puppet-filebucket.8

+9
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ This is a stand\-alone filebucket client for sending files to a local or central
3636
.P
3737
Note that \'filebucket\' defaults to using a network\-based filebucket available on the server named \'puppet\'\. To use this, you\'ll have to be running as a user with valid Puppet certificates\. Alternatively, you can use your local file bucket by specifying \'\-\-local\', or by specifying \'\-\-bucket\' with a local path\.
3838
.
39+
.P
40+
\fBNote\fR: Enabling and using the backup option, and by extension the filebucket resource, requires appropriate planning and management to ensure that sufficient disk space is available for the file backups\. Generally, you can implement this using one of the following two options:
41+
.
42+
.IP "\(bu" 4
43+
Use a \fBfind\fR command and \fBcrontab\fR entry to retain only the last X days of file backups\. For example:
44+
.
45+
.IP "" 0
46+
.
3947
.IP "" 4
4048
.
4149
.nf
@@ -146,6 +154,7 @@ $ puppet filebucket \-l \-f "2015\-05\-11 09:30:00" list
146154

147155
$ puppet filebucket \-l \-t "2015\-05\-11 09:30:00" list
148156
d43a6ecaa892a1962398ac9170ea9bf2 2015\-05\-11 09:27:56 /tmp/TestFile
157+
149158
## Manage files in a specific local filebucket
150159
$ puppet filebucket \-b /tmp/TestBucket backup /tmp/TestFile2
151160
/tmp/TestFile2: d41d8cd98f00b204e9800998ecf8427e

0 commit comments

Comments
 (0)