puppet 5.0.0-x86-mingw32 → 5.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (101) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -1
  3. data/ext/puppet-test +1 -1
  4. data/lib/puppet.rb +3 -1
  5. data/lib/puppet/application/lookup.rb +2 -2
  6. data/lib/puppet/defaults.rb +1 -1
  7. data/lib/puppet/face/epp.rb +26 -24
  8. data/lib/puppet/face/module/search.rb +1 -1
  9. data/lib/puppet/forge.rb +3 -2
  10. data/lib/puppet/functions/each.rb +1 -1
  11. data/lib/puppet/functions/filter.rb +1 -1
  12. data/lib/puppet/module.rb +28 -1
  13. data/lib/puppet/module_tool.rb +2 -2
  14. data/lib/puppet/module_tool/applications/installer.rb +5 -5
  15. data/lib/puppet/module_tool/applications/uninstaller.rb +1 -1
  16. data/lib/puppet/module_tool/applications/upgrader.rb +5 -5
  17. data/lib/puppet/module_tool/shared_behaviors.rb +2 -2
  18. data/lib/puppet/parser/compiler.rb +4 -0
  19. data/lib/puppet/parser/functions/assert_type.rb +1 -1
  20. data/lib/puppet/parser/functions/binary_file.rb +1 -1
  21. data/lib/puppet/parser/functions/break.rb +1 -1
  22. data/lib/puppet/parser/functions/defined.rb +1 -1
  23. data/lib/puppet/parser/functions/dig.rb +1 -1
  24. data/lib/puppet/parser/functions/each.rb +2 -2
  25. data/lib/puppet/parser/functions/epp.rb +1 -1
  26. data/lib/puppet/parser/functions/filter.rb +2 -2
  27. data/lib/puppet/parser/functions/find_file.rb +1 -1
  28. data/lib/puppet/parser/functions/inline_epp.rb +1 -1
  29. data/lib/puppet/parser/functions/lest.rb +1 -1
  30. data/lib/puppet/parser/functions/map.rb +1 -1
  31. data/lib/puppet/parser/functions/match.rb +1 -1
  32. data/lib/puppet/parser/functions/new.rb +1 -1
  33. data/lib/puppet/parser/functions/next.rb +1 -1
  34. data/lib/puppet/parser/functions/reduce.rb +1 -1
  35. data/lib/puppet/parser/functions/return.rb +1 -1
  36. data/lib/puppet/parser/functions/reverse_each.rb +2 -2
  37. data/lib/puppet/parser/functions/slice.rb +1 -1
  38. data/lib/puppet/parser/functions/step.rb +2 -2
  39. data/lib/puppet/parser/functions/strftime.rb +1 -1
  40. data/lib/puppet/parser/functions/then.rb +1 -1
  41. data/lib/puppet/parser/functions/type.rb +1 -1
  42. data/lib/puppet/parser/functions/with.rb +1 -1
  43. data/lib/puppet/pops/merge_strategy.rb +1 -1
  44. data/lib/puppet/pops/time/timestamp.rb +2 -2
  45. data/lib/puppet/provider/nameservice.rb +4 -2
  46. data/lib/puppet/reference/configuration.rb +1 -1
  47. data/lib/puppet/reports/http.rb +4 -2
  48. data/lib/puppet/resource/capability_finder.rb +1 -1
  49. data/lib/puppet/util/execution.rb +1 -1
  50. data/lib/puppet/util/logging.rb +8 -4
  51. data/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/gem_version.rb +1 -1
  52. data/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version.rb +1 -1
  53. data/lib/puppet/version.rb +1 -1
  54. data/locales/puppet.pot +66 -58
  55. data/man/man5/puppet.conf.5 +233 -63
  56. data/man/man8/puppet-agent.8 +31 -9
  57. data/man/man8/puppet-apply.8 +20 -5
  58. data/man/man8/puppet-ca.8 +48 -34
  59. data/man/man8/puppet-catalog.8 +12 -15
  60. data/man/man8/puppet-cert.8 +23 -6
  61. data/man/man8/puppet-certificate.8 +52 -36
  62. data/man/man8/puppet-certificate_request.8 +10 -10
  63. data/man/man8/puppet-certificate_revocation_list.8 +9 -9
  64. data/man/man8/puppet-config.8 +5 -5
  65. data/man/man8/puppet-describe.8 +3 -3
  66. data/man/man8/puppet-device.8 +13 -5
  67. data/man/man8/puppet-doc.8 +5 -5
  68. data/man/man8/puppet-epp.8 +16 -10
  69. data/man/man8/puppet-facts.8 +9 -9
  70. data/man/man8/puppet-filebucket.8 +44 -5
  71. data/man/man8/puppet-generate.8 +84 -0
  72. data/man/man8/puppet-help.8 +4 -4
  73. data/man/man8/puppet-key.8 +11 -11
  74. data/man/man8/puppet-lookup.8 +104 -0
  75. data/man/man8/puppet-man.8 +5 -5
  76. data/man/man8/puppet-master.8 +5 -5
  77. data/man/man8/puppet-module.8 +29 -17
  78. data/man/man8/puppet-node.8 +9 -9
  79. data/man/man8/puppet-parser.8 +4 -4
  80. data/man/man8/puppet-plugin.8 +4 -4
  81. data/man/man8/puppet-report.8 +9 -9
  82. data/man/man8/puppet-resource.8 +4 -8
  83. data/man/man8/puppet-status.8 +9 -9
  84. data/man/man8/puppet.8 +12 -3
  85. data/spec/integration/util/execution_spec.rb +8 -0
  86. data/spec/unit/application/lookup_spec.rb +1 -1
  87. data/spec/unit/face/epp_face_spec.rb +9 -0
  88. data/spec/unit/face/module/search_spec.rb +1 -1
  89. data/spec/unit/functions/lookup_spec.rb +26 -0
  90. data/spec/unit/indirector/file_bucket_file/file_spec.rb +3 -3
  91. data/spec/unit/module_spec.rb +64 -0
  92. data/spec/unit/module_tool_spec.rb +22 -0
  93. data/spec/unit/parser/scope_spec.rb +1 -1
  94. data/spec/unit/pops/types/p_timestamp_type_spec.rb +30 -1
  95. data/spec/unit/puppet_spec.rb +33 -0
  96. data/spec/unit/util/logging_spec.rb +18 -9
  97. data/tasks/generate_ast_model.rake +48 -44
  98. data/tasks/manpages.rake +9 -1
  99. data/tasks/parallel.rake +12 -7
  100. metadata +3517 -3538
  101. data/man/man8/puppet-inspect.8 +0 -36
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
- .\" https://github.com/rtomayko/ronn/tree/0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PUPPET\-EPP" "8" "May 2015" "Puppet Labs, LLC" "Puppet manual"
4
+ .TH "PUPPET\-EPP" "8" "June 2017" "Puppet Labs, LLC" "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-epp\fR \- Interact directly with the EPP template parser/renderer\.
@@ -13,7 +13,7 @@ puppet epp \fIaction\fR
13
13
  Note that any setting that\'s valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action\. For example, \fBserver\fR and \fBrun_mode\fR are valid settings, so you can specify \fB\-\-server <servername>\fR, or \fB\-\-run_mode <runmode>\fR as an argument\.
14
14
  .
15
15
  .P
16
- See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/references/stable/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
16
+ See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/puppet/latest/reference/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
17
17
  .
18
18
  .TP
19
19
  \-\-render\-as FORMAT
@@ -46,10 +46,10 @@ The dump action parses and validates the EPP syntax and dumps the resulting AST
46
46
  The command accepts one or more templates (\.epp) files, or an \-e followed by the template source text\. The given templates can be paths to template files, or references to templates in modules when given on the form \fImodulename\fR/\fItemplate\-name\fR\.epp\. If no arguments are given, the stdin is read (unless it is attached to a terminal)
47
47
  .
48
48
  .IP
49
- If multiple templates are given, they are separated with a header indicating the name of the template\. This can be surpressed with the option \-\-no\-header\. The option \-\-[no\-]header has no effect whe a single template is dumped\.
49
+ If multiple templates are given, they are separated with a header indicating the name of the template\. This can be suppressed with the option \-\-no\-header\. The option \-\-[no\-]header has no effect when a single template is dumped\.
50
50
  .
51
51
  .IP
52
- When debugging the epp parser itself, it may be useful to surpress the valiation step with the \fB\-\-no\-validate\fR option to observe what the parser produced from the given source\.
52
+ When debugging the epp parser itself, it may be useful to suppress the validation step with the \fB\-\-no\-validate\fR option to observe what the parser produced from the given source\.
53
53
  .
54
54
  .IP
55
55
  This command ignores the \-\-render\-as setting/option\.
@@ -74,7 +74,7 @@ A dump of the resulting AST model unless there are syntax or validation errors\.
74
74
  \fBSYNOPSIS\fR
75
75
  .
76
76
  .IP
77
- puppet epp render [\-\-e \fIsource\fR] [\-\-values \fIvalues_hash\fR] [\-\-values_file \fIpp_or_yaml_file\fR] [\-\-facts \fIyaml_file\fR] [\-\-[no\-]header] \-e \fIsource\fR | [\fItemplates\fR \.\.\.]
77
+ puppet epp render [\-\-node \fInode_name\fR] [\-\-e \fIsource\fR] [\-\-values \fIvalues_hash\fR] [\-\-values_file \fIpp_or_yaml_file\fR] [\-\-facts \fIfacts_file\fR] [\-\-[no\-]header] \-e \fIsource\fR | [\fItemplates\fR \.\.\.]
78
78
  .
79
79
  .IP
80
80
  \fBDESCRIPTION\fR
@@ -101,7 +101,10 @@ If multiple templates are given, the same set of values are given to each templa
101
101
  When multiple templates are rendered, a separating header is output between the templates showing the name of the template before the output\. The header output can be turned off with \fB\-\-no\-header\fR\. This also concatenates the template results without any added newline separators\.
102
102
  .
103
103
  .IP
104
- Facts for the simulated node can be feed to the rendering process by referencing a \.yaml file with facts using the \-\-facts option\. (Values can be obtained in yaml format directly from \fBfacter\fR, or from puppet for a given node)\. Note that it is not possible to simulate the reserved variable name \fB$facts\fR in any other way\.
104
+ Facts from the node where the command is being run are used by default\.args Facts can be obtained for other nodes if they have called in, and reported their facts by using the \fB\-\-node <nodename>\fR flag\.
105
+ .
106
+ .IP
107
+ Overriding node facts as well as additional facts can be given in a \.yaml or \.json file and referencing it with the \-\-facts option\. (Values can be obtained in yaml format directly from \fBfacter\fR, or from puppet for a given node)\. Note that it is not possible to simulate the reserved variable name \fB$facts\fR in any other way\.
105
108
  .
106
109
  .IP
107
110
  Note that it is not possible to set variables using the Puppet Language that have the same names as facts as this result in an error; "attempt to redefine a variable" since facts are set first\.
@@ -110,18 +113,21 @@ Note that it is not possible to set variables using the Puppet Language that hav
110
113
  Exits with 0 if there were no validation errors\. On errors, no rendered output is produced for that template file\.
111
114
  .
112
115
  .IP
113
- When designing EPP templates, it is strongly recommended to define all template arguments in the template, and to give them in a hash when calling \fBepp\fR or \fBinline_epp\fR and to use as few global variables as possible, preferrably only the $facts hash\. This makes templates more free standing and are easier to reuse, and to test\.
116
+ When designing EPP templates, it is strongly recommended to define all template arguments in the template, and to give them in a hash when calling \fBepp\fR or \fBinline_epp\fR and to use as few global variables as possible, preferably only the $facts hash\. This makes templates more free standing and are easier to reuse, and to test\.
114
117
  .
115
118
  .IP
116
119
  \fBOPTIONS\fR \fI\-\-e <source\fR> \- Render one inline epp template given on the command line\.
117
120
  .
118
121
  .IP
119
- \fI\-\-facts <yaml_file\fR> \- A \.yaml file containing a hash of facts made available in $facts
122
+ \fI\-\-facts <facts_file\fR> \- A \.yaml or \.json file containing a hash of facts made available in $facts and $trusted
120
123
  .
121
124
  .IP
122
125
  \fI\-\-[no\-]header\fR \- Whether or not to show a file name header between rendered results\.
123
126
  .
124
127
  .IP
128
+ \fI\-\-node <node_name\fR> \- The name of the node for which facts are obtained\. Defaults to facts for the local node\.
129
+ .
130
+ .IP
125
131
  \fI\-\-values <values_hash\fR> \- A Hash in Puppet DSL form given as arguments to the template being rendered\.
126
132
  .
127
133
  .IP
@@ -346,4 +352,4 @@ $ puppet epp validate mymodule/template1\.epp mymodule/template2\.epp \-\-contin
346
352
  .IP "" 0
347
353
  .
348
354
  .SH "COPYRIGHT AND LICENSE"
349
- Copyright 2014 by Puppet Labs Apache 2 license; see COPYING
355
+ Copyright 2014 by Puppet Inc\. Apache 2 license; see COPYING
@@ -1,13 +1,13 @@
1
1
  .\" generated with Ronn/v0.7.3
2
- .\" https://github.com/rtomayko/ronn/tree/0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PUPPET\-FACTS" "8" "May 2015" "Puppet Labs, LLC" "Puppet manual"
4
+ .TH "PUPPET\-FACTS" "8" "June 2017" "Puppet Labs, LLC" "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-facts\fR \- Retrieve and store facts\.
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- puppet facts \fIaction\fR [\-\-terminus TERMINUS] [\-\-extra HASH]
10
+ puppet facts \fIaction\fR [\-\-terminus _TERMINUS] [\-\-extra HASH]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  This subcommand manages facts, which are collections of normalized system information used by Puppet\. It can read facts directly from the local system (with the default \fBfacter\fR terminus)\.
@@ -16,7 +16,7 @@ This subcommand manages facts, which are collections of normalized system inform
16
16
  Note that any setting that\'s valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action\. For example, \fBserver\fR and \fBrun_mode\fR are valid settings, so you can specify \fB\-\-server <servername>\fR, or \fB\-\-run_mode <runmode>\fR as an argument\.
17
17
  .
18
18
  .P
19
- See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/references/stable/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
19
+ See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/puppet/latest/reference/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
20
20
  .
21
21
  .TP
22
22
  \-\-render\-as FORMAT
@@ -35,7 +35,7 @@ Whether to log debug information\.
35
35
  A terminus can take additional arguments to refine the operation, which are passed as an arbitrary hash to the back\-end\. Anything passed as the extra value is just send direct to the back\-end\.
36
36
  .
37
37
  .TP
38
- \-\-terminus TERMINUS
38
+ \-\-terminus _TERMINUS
39
39
  Indirector faces expose indirected subsystems of Puppet\. These subsystems are each able to retrieve and alter a specific type of data (with the familiar actions of \fBfind\fR, \fBsearch\fR, \fBsave\fR, and \fBdestroy\fR) from an arbitrary number of pluggable backends\. In Puppet parlance, these backends are called terminuses\.
40
40
  .
41
41
  .IP
@@ -51,7 +51,7 @@ The terminus for an action is often determined by context, but occasionally need
51
51
  \fBSYNOPSIS\fR
52
52
  .
53
53
  .IP
54
- puppet facts [\-\-terminus TERMINUS] [\-\-extra HASH] [\fInode_certname\fR]
54
+ puppet facts [\-\-terminus _TERMINUS] [\-\-extra HASH] [\fInode_certname\fR]
55
55
  .
56
56
  .IP
57
57
  \fBDESCRIPTION\fR
@@ -79,7 +79,7 @@ When using the \fBfacter\fR terminus, the host argument is ignored\.
79
79
  \fBSYNOPSIS\fR
80
80
  .
81
81
  .IP
82
- puppet facts info [\-\-terminus TERMINUS] [\-\-extra HASH]
82
+ puppet facts info [\-\-terminus _TERMINUS] [\-\-extra HASH]
83
83
  .
84
84
  .IP
85
85
  \fBDESCRIPTION\fR
@@ -92,7 +92,7 @@ Prints the default terminus class for this subcommand\. Note that different run
92
92
  \fBSYNOPSIS\fR
93
93
  .
94
94
  .IP
95
- puppet facts save [\-\-terminus TERMINUS] [\-\-extra HASH] \fIkey\fR
95
+ puppet facts save [\-\-terminus _TERMINUS] [\-\-extra HASH] \fIkey\fR
96
96
  .
97
97
  .IP
98
98
  \fBDESCRIPTION\fR
@@ -130,4 +130,4 @@ This subcommand is an indirector face, which exposes \fBfind\fR, \fBsearch\fR, \
130
130
  .IP "" 0
131
131
  .
132
132
  .SH "COPYRIGHT AND LICENSE"
133
- Copyright 2011 by Puppet Labs Apache 2 license; see COPYING
133
+ Copyright 2011 by Puppet Inc\. Apache 2 license; see COPYING
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
- .\" https://github.com/rtomayko/ronn/tree/0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PUPPET\-FILEBUCKET" "8" "May 2015" "Puppet Labs, LLC" "Puppet manual"
4
+ .TH "PUPPET\-FILEBUCKET" "8" "June 2017" "Puppet Labs, LLC" "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-filebucket\fR \- Store and retrieve files in a filebucket
@@ -10,7 +10,7 @@
10
10
  A stand\-alone Puppet filebucket client\.
11
11
  .
12
12
  .SH "USAGE"
13
- puppet filebucket \fImode\fR [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose] [\-l|\-\-local] [\-r|\-\-remote] [\-s|\-\-server \fIserver\fR] [\-b|\-\-bucket \fIdirectory\fR] \fIfile\fR \fIfile\fR \.\.\.
13
+ puppet filebucket \fImode\fR [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose] [\-l|\-\-local] [\-r|\-\-remote] [\-s|\-\-server \fIserver\fR] [\-f|\-\-fromdate \fIdate\fR] [\-t|\-\-todate \fIdate\fR] [\-b|\-\-bucket \fIdirectory\fR] \fIfile\fR \fIfile\fR \.\.\.
14
14
  .
15
15
  .P
16
16
  Puppet filebucket can operate in three modes, with only one mode per call:
@@ -24,6 +24,12 @@ get: Return the text associated with an md5 sum\. The text is printed to stdout,
24
24
  .P
25
25
  restore: Given a file path and an md5 sum, store the content associated with the sum into the specified file path\. You can specify an entirely new path to this argument; you are not restricted to restoring the content to its original location\.
26
26
  .
27
+ .P
28
+ diff: Print a diff in unified format between two checksums in the filebucket or between a checksum and its matching file\.
29
+ .
30
+ .P
31
+ list: List all files in the current local filebucket\. Listing remote filebuckets is not allowed\.
32
+ .
27
33
  .SH "DESCRIPTION"
28
34
  This is a stand\-alone filebucket client for sending files to a local or central filebucket\.
29
35
  .
@@ -34,13 +40,17 @@ Note that \'filebucket\' defaults to using a network\-based filebucket available
34
40
  Note that any setting that\'s valid in the configuration file is also a valid long argument\. For example, \'ssldir\' is a valid setting, so you can specify \'\-\-ssldir \fIdirectory\fR\' as an argument\.
35
41
  .
36
42
  .P
37
- See the configuration file documentation at https://docs\.puppetlabs\.com/references/stable/configuration\.html for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \'\-\-genconfig\'\.
43
+ See the configuration file documentation at https://docs\.puppetlabs\.com/puppet/latest/reference/configuration\.html for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \'\-\-genconfig\'\.
38
44
  .
39
45
  .TP
40
46
  \-\-debug
41
47
  Enable full debugging\.
42
48
  .
43
49
  .TP
50
+ \-\-fromdate
51
+ (list only) Select bucket files from \'fromdate\'
52
+ .
53
+ .TP
44
54
  \-\-help
45
55
  Print this help message
46
56
  .
@@ -57,6 +67,10 @@ Use a remote filebucket\. This will use the default configuration information\.
57
67
  The server to send the file to, instead of locally\.
58
68
  .
59
69
  .TP
70
+ \-\-todate
71
+ (list only) Select bucket files until \'todate\'
72
+ .
73
+ .TP
60
74
  \-\-verbose
61
75
  Print extra information\.
62
76
  .
@@ -71,6 +85,31 @@ Print version information\.
71
85
  $ puppet filebucket backup /etc/passwd
72
86
  /etc/passwd: 429b225650b912a2ee067b0a4cf1e949
73
87
  $ puppet filebucket restore /tmp/passwd 429b225650b912a2ee067b0a4cf1e949
88
+ ## Diff between two files in the filebucket
89
+ $ puppet filebucket \-l diff d43a6ecaa892a1962398ac9170ea9bf2 7ae322f5791217e031dc60188f4521ef
90
+ 1a2
91
+ > again
92
+ ## Diff between the file in the filebucket and the current one
93
+ $ puppet filebucket \-l diff d43a6ecaa892a1962398ac9170ea9bf2 /tmp/testFile
94
+ 1a2
95
+ > again
96
+ $ puppet filebucket \-l list
97
+ d43a6ecaa892a1962398ac9170ea9bf2 2015\-05\-11 09:27:56 /tmp/TestFile
98
+ $ echo again >> /tmp/TestFile
99
+ $ puppet filebucket \-l backup /tmp/TestFile
100
+ /tmp/TestFile: 7ae322f5791217e031dc60188f4521ef
101
+ $ puppet filebucket \-l list
102
+ d43a6ecaa892a1962398ac9170ea9bf2 2015\-05\-11 09:27:56 /tmp/TestFile
103
+ 7ae322f5791217e031dc60188f4521ef 2015\-05\-11 09:52:15 /tmp/TestFile
104
+ $ puppet filebucket \-l \-f 2015\-01\-01 \-t 2015\-01\-11 list
105
+ <Empty Output>
106
+ $ puppet filebucket \-l \-f 2015\-05\-10 list
107
+ d43a6ecaa892a1962398ac9170ea9bf2 2015\-05\-11 09:27:56 /tmp/TestFile
108
+ 7ae322f5791217e031dc60188f4521ef 2015\-05\-11 09:52:15 /tmp/TestFile
109
+ $ puppet filebucket \-l \-f "2015\-05\-11 09:30:00" list
110
+ 7ae322f5791217e031dc60188f4521ef 2015\-05\-11 09:52:15 /tmp/TestFile
111
+ $ puppet filebucket \-l \-t "2015\-05\-11 09:30:00" list
112
+ d43a6ecaa892a1962398ac9170ea9bf2 2015\-05\-11 09:27:56 /tmp/TestFile
74
113
  .
75
114
  .fi
76
115
  .
@@ -78,4 +117,4 @@ $ puppet filebucket restore /tmp/passwd 429b225650b912a2ee067b0a4cf1e949
78
117
  Luke Kanies
79
118
  .
80
119
  .SH "COPYRIGHT"
81
- Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2\.0 License
120
+ Copyright (c) 2011 Puppet Inc\., LLC Licensed under the Apache 2\.0 License
@@ -0,0 +1,84 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "PUPPET\-GENERATE" "8" "June 2017" "Puppet Labs, LLC" "Puppet manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBpuppet\-generate\fR \- Generates Puppet code from Ruby definitions\.
8
+ .
9
+ .SH "SYNOPSIS"
10
+ puppet generate \fIaction\fR
11
+ .
12
+ .SH "OPTIONS"
13
+ Note that any setting that\'s valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action\. For example, \fBserver\fR and \fBrun_mode\fR are valid settings, so you can specify \fB\-\-server <servername>\fR, or \fB\-\-run_mode <runmode>\fR as an argument\.
14
+ .
15
+ .P
16
+ See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/puppet/latest/reference/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
17
+ .
18
+ .TP
19
+ \-\-render\-as FORMAT
20
+ The format in which to render output\. The most common formats are \fBjson\fR, \fBs\fR (string), \fByaml\fR, and \fBconsole\fR, but other options such as \fBdot\fR are sometimes available\.
21
+ .
22
+ .TP
23
+ \-\-verbose
24
+ Whether to log verbosely\.
25
+ .
26
+ .TP
27
+ \-\-debug
28
+ Whether to log debug information\.
29
+ .
30
+ .SH "ACTIONS"
31
+ .
32
+ .TP
33
+ \fBtypes\fR \- Generates Puppet code for custom types
34
+ \fBSYNOPSIS\fR
35
+ .
36
+ .IP
37
+ puppet generate types [\-\-format \fIformat\fR] [\-\-force]
38
+ .
39
+ .IP
40
+ \fBDESCRIPTION\fR
41
+ .
42
+ .IP
43
+ Generates definitions for custom resource types using Puppet code\.
44
+ .
45
+ .IP
46
+ Types defined in Puppet code can be used to isolate custom type definitions between different environments\.
47
+ .
48
+ .IP
49
+ \fBOPTIONS\fR \fI\-\-force\fR \- Forces the generation of output files (skips up\-to\-date checks)\.
50
+ .
51
+ .IP
52
+ \fI\-\-format <format\fR> \- The generation output format to use\. Supported formats: pcore\.
53
+ .
54
+ .SH "EXAMPLES"
55
+ \fBtypes\fR
56
+ .
57
+ .P
58
+ Generate Puppet type definitions for all custom resource types in the current environment:
59
+ .
60
+ .IP "" 4
61
+ .
62
+ .nf
63
+
64
+ $ puppet generate types
65
+ .
66
+ .fi
67
+ .
68
+ .IP "" 0
69
+ .
70
+ .P
71
+ Generate Puppet type definitions for all custom resource types in the specified environment:
72
+ .
73
+ .IP "" 4
74
+ .
75
+ .nf
76
+
77
+ $ puppet generate types \-\-environment development
78
+ .
79
+ .fi
80
+ .
81
+ .IP "" 0
82
+ .
83
+ .SH "COPYRIGHT AND LICENSE"
84
+ Copyright 2016 by Puppet Inc\. Apache 2 license; see COPYING
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
- .\" https://github.com/rtomayko/ronn/tree/0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PUPPET\-HELP" "8" "May 2015" "Puppet Labs, LLC" "Puppet manual"
4
+ .TH "PUPPET\-HELP" "8" "June 2017" "Puppet Labs, LLC" "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-help\fR \- Display Puppet help\.
@@ -13,7 +13,7 @@ puppet help \fIaction\fR
13
13
  Note that any setting that\'s valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action\. For example, \fBserver\fR and \fBrun_mode\fR are valid settings, so you can specify \fB\-\-server <servername>\fR, or \fB\-\-run_mode <runmode>\fR as an argument\.
14
14
  .
15
15
  .P
16
- See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/references/stable/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
16
+ See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/puppet/latest/reference/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
17
17
  .
18
18
  .TP
19
19
  \-\-render\-as FORMAT
@@ -61,4 +61,4 @@ Get help for an action:
61
61
  $ puppet help
62
62
  .
63
63
  .SH "COPYRIGHT AND LICENSE"
64
- Copyright 2011 by Puppet Labs Apache 2 license; see COPYING
64
+ Copyright 2011 by Puppet Inc\. Apache 2 license; see COPYING
@@ -1,13 +1,13 @@
1
1
  .\" generated with Ronn/v0.7.3
2
- .\" https://github.com/rtomayko/ronn/tree/0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PUPPET\-KEY" "8" "May 2015" "Puppet Labs, LLC" "Puppet manual"
4
+ .TH "PUPPET\-KEY" "8" "June 2017" "Puppet Labs, LLC" "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-key\fR \- Create, save, and remove certificate keys\.
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- puppet key \fIaction\fR [\-\-terminus TERMINUS] [\-\-extra HASH]
10
+ puppet key \fIaction\fR [\-\-terminus _TERMINUS] [\-\-extra HASH]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  This subcommand manages certificate private keys\. Keys are created automatically by puppet agent and when certificate requests are generated with \'puppet certificate generate\'; it should not be necessary to use this subcommand directly\.
@@ -16,7 +16,7 @@ This subcommand manages certificate private keys\. Keys are created automaticall
16
16
  Note that any setting that\'s valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action\. For example, \fBserver\fR and \fBrun_mode\fR are valid settings, so you can specify \fB\-\-server <servername>\fR, or \fB\-\-run_mode <runmode>\fR as an argument\.
17
17
  .
18
18
  .P
19
- See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/references/stable/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
19
+ See the configuration file documentation at \fIhttps://docs\.puppetlabs\.com/puppet/latest/reference/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\.
20
20
  .
21
21
  .TP
22
22
  \-\-render\-as FORMAT
@@ -35,7 +35,7 @@ Whether to log debug information\.
35
35
  A terminus can take additional arguments to refine the operation, which are passed as an arbitrary hash to the back\-end\. Anything passed as the extra value is just send direct to the back\-end\.
36
36
  .
37
37
  .TP
38
- \-\-terminus TERMINUS
38
+ \-\-terminus _TERMINUS
39
39
  Indirector faces expose indirected subsystems of Puppet\. These subsystems are each able to retrieve and alter a specific type of data (with the familiar actions of \fBfind\fR, \fBsearch\fR, \fBsave\fR, and \fBdestroy\fR) from an arbitrary number of pluggable backends\. In Puppet parlance, these backends are called terminuses\.
40
40
  .
41
41
  .IP
@@ -51,7 +51,7 @@ The terminus for an action is often determined by context, but occasionally need
51
51
  \fBSYNOPSIS\fR
52
52
  .
53
53
  .IP
54
- puppet key destroy [\-\-terminus TERMINUS] [\-\-extra HASH] \fIkey\fR
54
+ puppet key destroy [\-\-terminus _TERMINUS] [\-\-extra HASH] \fIkey\fR
55
55
  .
56
56
  .IP
57
57
  \fBDESCRIPTION\fR
@@ -64,7 +64,7 @@ Delete an object\.
64
64
  \fBSYNOPSIS\fR
65
65
  .
66
66
  .IP
67
- puppet key find [\-\-terminus TERMINUS] [\-\-extra HASH] [\fIkey\fR]
67
+ puppet key find [\-\-terminus _TERMINUS] [\-\-extra HASH] [\fIkey\fR]
68
68
  .
69
69
  .IP
70
70
  \fBDESCRIPTION\fR
@@ -77,7 +77,7 @@ Retrieve an object by name\.
77
77
  \fBSYNOPSIS\fR
78
78
  .
79
79
  .IP
80
- puppet key info [\-\-terminus TERMINUS] [\-\-extra HASH]
80
+ puppet key info [\-\-terminus _TERMINUS] [\-\-extra HASH]
81
81
  .
82
82
  .IP
83
83
  \fBDESCRIPTION\fR
@@ -90,7 +90,7 @@ Prints the default terminus class for this subcommand\. Note that different run
90
90
  \fBSYNOPSIS\fR
91
91
  .
92
92
  .IP
93
- puppet key save [\-\-terminus TERMINUS] [\-\-extra HASH] \fIkey\fR
93
+ puppet key save [\-\-terminus _TERMINUS] [\-\-extra HASH] \fIkey\fR
94
94
  .
95
95
  .IP
96
96
  \fBDESCRIPTION\fR
@@ -103,7 +103,7 @@ API only: create or overwrite an object\. As the Faces framework does not curren
103
103
  \fBSYNOPSIS\fR
104
104
  .
105
105
  .IP
106
- puppet key search [\-\-terminus TERMINUS] [\-\-extra HASH] \fIquery\fR
106
+ puppet key search [\-\-terminus _TERMINUS] [\-\-extra HASH] \fIquery\fR
107
107
  .
108
108
  .IP
109
109
  \fBDESCRIPTION\fR
@@ -129,4 +129,4 @@ This subcommand is an indirector face, which exposes \fBfind\fR, \fBsearch\fR, \
129
129
  .IP "" 0
130
130
  .
131
131
  .SH "COPYRIGHT AND LICENSE"
132
- Copyright 2011 by Puppet Labs Apache 2 license; see COPYING
132
+ Copyright 2011 by Puppet Inc\. Apache 2 license; see COPYING
@@ -0,0 +1,104 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "PUPPET\-LOOKUP" "8" "June 2017" "Puppet Labs, LLC" "Puppet manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBpuppet\-lookup\fR \- Interactive Hiera lookup
8
+ .
9
+ .SH "SYNOPSIS"
10
+ Does Hiera lookups from the command line\.
11
+ .
12
+ .P
13
+ Since this command needs access to your Hiera data, make sure to run it on a node that has a copy of that data\. This usually means logging into a Puppet Server node and running \'puppet lookup\' with sudo\.
14
+ .
15
+ .P
16
+ The most common version of this command is:
17
+ .
18
+ .P
19
+ \'puppet lookup \fIKEY\fR \-\-node \fINAME\fR \-\-environment \fIENV\fR \-\-explain\'
20
+ .
21
+ .SH "USAGE"
22
+ puppet lookup [\-\-help] [\-\-type \fITYPESTRING\fR] [\-\-merge first|unique|hash|deep] [\-\-knock\-out\-prefix \fIPREFIX\-STRING\fR] [\-\-sort\-merged\-arrays] [\-\-merge\-hash\-arrays] [\-\-explain] [\-\-environment \fIENV\fR] [\-\-default \fIVALUE\fR] [\-\-node \fINODE\-NAME\fR] [\-\-facts \fIFILE\fR] [\-\-compile] [\-\-render\-as s|json|yaml|binary|msgpack] \fIkeys\fR
23
+ .
24
+ .SH "DESCRIPTION"
25
+ The lookup command is a CLI for Puppet\'s \'lookup()\' function\. It searches your Hiera data and returns a value for the requested lookup key, so you can test and explore your data\. It is a modern replacement for the \'hiera\' command\.
26
+ .
27
+ .P
28
+ Hiera usually relies on a node\'s facts to locate the relevant data sources\. By default, \'puppet lookup\' uses facts from the node you run the command on, but you can get data for any other node with the \'\-\-node \fINAME\fR\' option\. If possible, the lookup command will use the requested node\'s real stored facts from PuppetDB; if PuppetDB isn\'t configured or you want to provide arbitrary fact values, you can pass alternate facts as a JSON or YAML file with \'\-\-facts \fIFILE\fR\'\.
29
+ .
30
+ .P
31
+ If you\'re debugging your Hiera data and want to see where values are coming from, use the \'\-\-explain\' option\.
32
+ .
33
+ .P
34
+ If \'\-\-explain\' isn\'t specified, lookup exits with 0 if a value was found and 1 otherwise\. With \'\-\-explain\', lookup always exits with 0 unless there is a major error\.
35
+ .
36
+ .P
37
+ You can provide multiple lookup keys to this command, but it only returns a value for the first found key, omitting the rest\.
38
+ .
39
+ .P
40
+ For more details about how Hiera works, see the Hiera documentation: https://docs\.puppet\.com/puppet/latest/hiera_intro\.html
41
+ .
42
+ .SH "OPTIONS"
43
+ .
44
+ .IP "\(bu" 4
45
+ \-\-help: Print this help message\.
46
+ .
47
+ .IP "\(bu" 4
48
+ \-\-explain Explain the details of how the lookup was performed and where the final value came from (or the reason no value was found)\.
49
+ .
50
+ .IP "\(bu" 4
51
+ \-\-node \fINODE\-NAME\fR Specify which node to look up data for; defaults to the node where the command is run\. Since Hiera\'s purpose is to provide different values for different nodes (usually based on their facts), you\'ll usually want to use some specific node\'s facts to explore your data\. If the node where you\'re running this command is configured to talk to PuppetDB, the command will use the requested node\'s most recent facts\. Otherwise, you can override facts with the \'\-\-facts\' option\.
52
+ .
53
+ .IP "\(bu" 4
54
+ \-\-facts \fIFILE\fR Specify a \.json or \.yaml file of key => value mappings to override the facts for this lookup\. Any facts not specified in this file maintain their original value\.
55
+ .
56
+ .IP "\(bu" 4
57
+ \-\-environment \fIENV\fR Like with most Puppet commands, you can specify an environment on the command line\. This is important for lookup because different environments can have different Hiera data\.
58
+ .
59
+ .IP "\(bu" 4
60
+ \-\-merge first|unique|hash|deep: Specify the merge behavior, overriding any merge behavior from the data\'s lookup_options\. \'first\' returns the first value found\. \'unique\' appends everything to a merged, deduplicated array\. \'hash\' performs a simple hash merge by overwriting keys of lower lookup priority\. \'deep\' performs a deep merge on values of Array and Hash type\. There are additional options that can be used with \'deep\'\.
61
+ .
62
+ .IP "\(bu" 4
63
+ \-\-knock\-out\-prefix \fIPREFIX\-STRING\fR Can be used with the \'deep\' merge strategy\. Specifies a prefix to indicate a value should be removed from the final result\.
64
+ .
65
+ .IP "\(bu" 4
66
+ \-\-sort\-merged\-arrays Can be used with the \'deep\' merge strategy\. When this flag is used, all merged arrays are sorted\.
67
+ .
68
+ .IP "\(bu" 4
69
+ \-\-merge\-hash\-arrays Can be used with the \'deep\' merge strategy\. When this flag is used, hashes WITHIN arrays are deep\-merged with their counterparts by position\.
70
+ .
71
+ .IP "\(bu" 4
72
+ \-\-explain\-options Explain whether a lookup_options hash affects this lookup, and how that hash was assembled\. (lookup_options is how Hiera configures merge behavior in data\.)
73
+ .
74
+ .IP "\(bu" 4
75
+ \-\-default \fIVALUE\fR A value to return if Hiera can\'t find a value in data\. For emulating calls to the \'lookup()\' function that include a default\.
76
+ .
77
+ .IP "\(bu" 4
78
+ \-\-type \fITYPESTRING\fR: Assert that the value has the specified type\. For emulating calls to the \'lookup()\' function that include a data type\.
79
+ .
80
+ .IP "\(bu" 4
81
+ \-\-compile Perform a full catalog compilation prior to the lookup\. If your hierarchy and data only use the $facts, $trusted, and $server_facts variables, you don\'t need this option; however, if your Hiera configuration uses arbitrary variables set by a Puppet manifest, you might need this option to get accurate data\. No catalog compilation takes place unless this flag is given\.
82
+ .
83
+ .IP "\(bu" 4
84
+ \-\-render\-as s|json|yaml|binary|msgpack Specify the output format of the results; "s" means plain text\. The default when producing a value is yaml and the default when producing an explanation is s\.
85
+ .
86
+ .IP "" 0
87
+ .
88
+ .SH "EXAMPLE"
89
+ To look up \'key_name\' using the Puppet Server node\'s facts: $ puppet lookup key_name
90
+ .
91
+ .P
92
+ To look up \'key_name\' with agent\.local\'s facts: $ puppet lookup \-\-node agent\.local key_name
93
+ .
94
+ .P
95
+ To get the first value found for \'key_name_one\' and \'key_name_two\' with agent\.local\'s facts while merging values and knocking out the prefix \'foo\' while merging: $ puppet lookup \-\-node agent\.local \-\-merge deep \-\-knock\-out\-prefix foo key_name_one key_name_two
96
+ .
97
+ .P
98
+ To lookup \'key_name\' with agent\.local\'s facts, and return a default value of \'bar\' if nothing was found: $ puppet lookup \-\-node agent\.local \-\-default bar key_name
99
+ .
100
+ .P
101
+ To see an explanation of how the value for \'key_name\' would be found, using agent\.local\'s facts: $ puppet lookup \-\-node agent\.local \-\-explain key_name
102
+ .
103
+ .SH "COPYRIGHT"
104
+ Copyright (c) 2015 Puppet Inc\., LLC Licensed under the Apache 2\.0 License