puppet 2.6.0 → 2.6.1

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 (246) hide show
  1. data/CHANGELOG +123 -0
  2. data/conf/redhat/puppet.spec +8 -2
  3. data/conf/solaris/smf/svc-puppetd +1 -1
  4. data/conf/solaris/smf/svc-puppetmasterd +1 -1
  5. data/conf/suse/client.init +4 -4
  6. data/conf/suse/fileserver.conf +12 -0
  7. data/conf/suse/logrotate +10 -0
  8. data/conf/suse/puppet.conf +25 -0
  9. data/conf/suse/puppet.spec +114 -49
  10. data/conf/suse/ruby-env.patch +17 -0
  11. data/conf/suse/server.init +4 -4
  12. data/ext/logcheck/puppet +23 -23
  13. data/ext/puppet-load.rb +357 -0
  14. data/ext/puppetstoredconfigclean.rb +3 -3
  15. data/ext/rack/files/config.ru +3 -5
  16. data/ext/vim/syntax/puppet.vim +6 -5
  17. data/install.rb +12 -11
  18. data/lib/puppet.rb +1 -1
  19. data/lib/puppet/agent.rb +3 -1
  20. data/lib/puppet/application.rb +2 -3
  21. data/lib/puppet/application/agent.rb +4 -0
  22. data/lib/puppet/application/apply.rb +14 -6
  23. data/lib/puppet/application/describe.rb +1 -1
  24. data/lib/puppet/application/doc.rb +2 -36
  25. data/lib/puppet/application/master.rb +0 -3
  26. data/lib/puppet/application/queue.rb +1 -0
  27. data/lib/puppet/configurer.rb +4 -0
  28. data/lib/puppet/daemon.rb +1 -1
  29. data/lib/puppet/defaults.rb +38 -44
  30. data/lib/puppet/file_serving/indirection_hooks.rb +2 -2
  31. data/lib/puppet/indirector/facts/memory.rb +1 -1
  32. data/lib/puppet/indirector/node/exec.rb +1 -1
  33. data/lib/puppet/indirector/node/ldap.rb +9 -53
  34. data/lib/puppet/indirector/node/memory.rb +1 -1
  35. data/lib/puppet/indirector/yaml.rb +6 -9
  36. data/lib/puppet/network/format_handler.rb +6 -0
  37. data/lib/puppet/network/formats.rb +4 -4
  38. data/lib/puppet/network/http/handler.rb +1 -1
  39. data/lib/puppet/network/http/rack.rb +3 -0
  40. data/lib/puppet/network/http/rack/rest.rb +1 -1
  41. data/lib/puppet/network/rest_authconfig.rb +6 -3
  42. data/lib/puppet/node/environment.rb +15 -5
  43. data/lib/puppet/parameter/value_collection.rb +3 -3
  44. data/lib/puppet/parser/ast/function.rb +0 -1
  45. data/lib/puppet/parser/ast/leaf.rb +1 -1
  46. data/lib/puppet/parser/ast/resource.rb +4 -3
  47. data/lib/puppet/parser/ast/resource_reference.rb +9 -2
  48. data/lib/puppet/parser/compiler.rb +12 -14
  49. data/lib/puppet/parser/files.rb +1 -1
  50. data/lib/puppet/parser/functions.rb +2 -2
  51. data/lib/puppet/parser/functions/defined.rb +1 -1
  52. data/lib/puppet/parser/functions/extlookup.rb +157 -0
  53. data/lib/puppet/parser/functions/file.rb +1 -1
  54. data/lib/puppet/parser/functions/inline_template.rb +6 -5
  55. data/lib/puppet/parser/functions/md5.rb +5 -0
  56. data/lib/puppet/parser/functions/realize.rb +1 -1
  57. data/lib/puppet/parser/functions/regsubst.rb +19 -19
  58. data/lib/puppet/parser/functions/require.rb +2 -3
  59. data/lib/puppet/parser/functions/split.rb +1 -1
  60. data/lib/puppet/parser/functions/sprintf.rb +1 -1
  61. data/lib/puppet/parser/functions/template.rb +4 -2
  62. data/lib/puppet/parser/functions/versioncmp.rb +12 -12
  63. data/lib/puppet/parser/lexer.rb +13 -14
  64. data/lib/puppet/parser/resource.rb +2 -7
  65. data/lib/puppet/parser/resource/param.rb +1 -1
  66. data/lib/puppet/parser/scope.rb +35 -0
  67. data/lib/puppet/parser/type_loader.rb +1 -1
  68. data/lib/puppet/property.rb +5 -5
  69. data/lib/puppet/provider.rb +3 -3
  70. data/lib/puppet/provider/group/groupadd.rb +1 -1
  71. data/lib/puppet/provider/group/ldap.rb +3 -3
  72. data/lib/puppet/provider/group/pw.rb +1 -1
  73. data/lib/puppet/provider/package/apple.rb +1 -1
  74. data/lib/puppet/provider/package/apt.rb +5 -1
  75. data/lib/puppet/provider/package/aptitude.rb +1 -1
  76. data/lib/puppet/provider/package/aptrpm.rb +1 -1
  77. data/lib/puppet/provider/package/blastwave.rb +1 -1
  78. data/lib/puppet/provider/package/dpkg.rb +2 -2
  79. data/lib/puppet/provider/package/fink.rb +1 -1
  80. data/lib/puppet/provider/package/gem.rb +1 -1
  81. data/lib/puppet/provider/package/openbsd.rb +1 -1
  82. data/lib/puppet/provider/package/rpm.rb +1 -1
  83. data/lib/puppet/provider/package/rug.rb +1 -1
  84. data/lib/puppet/provider/package/sunfreeware.rb +2 -2
  85. data/lib/puppet/provider/package/up2date.rb +1 -1
  86. data/lib/puppet/provider/package/urpmi.rb +1 -1
  87. data/lib/puppet/provider/package/yum.rb +1 -1
  88. data/lib/puppet/provider/package/zypper.rb +1 -1
  89. data/lib/puppet/provider/service/base.rb +1 -1
  90. data/lib/puppet/provider/service/bsd.rb +2 -2
  91. data/lib/puppet/provider/service/debian.rb +2 -2
  92. data/lib/puppet/provider/service/gentoo.rb +2 -2
  93. data/lib/puppet/provider/service/init.rb +2 -2
  94. data/lib/puppet/provider/service/redhat.rb +2 -2
  95. data/lib/puppet/provider/user/ldap.rb +3 -3
  96. data/lib/puppet/provider/user/pw.rb +1 -1
  97. data/lib/puppet/provider/user/user_role_add.rb +1 -1
  98. data/lib/puppet/provider/user/useradd.rb +1 -1
  99. data/lib/puppet/rails/host.rb +1 -0
  100. data/lib/puppet/reference/configuration.rb +37 -34
  101. data/lib/puppet/reference/indirection.rb +3 -4
  102. data/lib/puppet/reference/metaparameter.rb +0 -8
  103. data/lib/puppet/reference/network.rb +6 -4
  104. data/lib/puppet/reference/providers.rb +4 -4
  105. data/lib/puppet/reference/report.rb +5 -6
  106. data/lib/puppet/reference/type.rb +14 -14
  107. data/lib/puppet/reports/http.rb +1 -1
  108. data/lib/puppet/reports/rrdgraph.rb +8 -9
  109. data/lib/puppet/reports/store.rb +2 -2
  110. data/lib/puppet/reports/tagmail.rb +12 -13
  111. data/lib/puppet/resource.rb +15 -115
  112. data/lib/puppet/resource/catalog.rb +1 -1
  113. data/lib/puppet/resource/type.rb +26 -3
  114. data/lib/puppet/resource/type_collection.rb +3 -6
  115. data/lib/puppet/simple_graph.rb +4 -5
  116. data/lib/puppet/transaction/resource_harness.rb +1 -1
  117. data/lib/puppet/type.rb +100 -92
  118. data/lib/puppet/type/augeas.rb +44 -45
  119. data/lib/puppet/type/computer.rb +2 -2
  120. data/lib/puppet/type/cron.rb +29 -29
  121. data/lib/puppet/type/exec.rb +66 -67
  122. data/lib/puppet/type/file.rb +25 -25
  123. data/lib/puppet/type/file/content.rb +7 -1
  124. data/lib/puppet/type/file/ensure.rb +13 -13
  125. data/lib/puppet/type/file/mode.rb +6 -6
  126. data/lib/puppet/type/file/selcontext.rb +5 -5
  127. data/lib/puppet/type/file/source.rb +36 -26
  128. data/lib/puppet/type/filebucket.rb +5 -6
  129. data/lib/puppet/type/group.rb +1 -2
  130. data/lib/puppet/type/host.rb +3 -6
  131. data/lib/puppet/type/k5login.rb +3 -3
  132. data/lib/puppet/type/macauthorization.rb +1 -2
  133. data/lib/puppet/type/mailalias.rb +0 -1
  134. data/lib/puppet/type/maillist.rb +0 -1
  135. data/lib/puppet/type/mcx.rb +9 -9
  136. data/lib/puppet/type/mount.rb +9 -10
  137. data/lib/puppet/type/notify.rb +0 -1
  138. data/lib/puppet/type/package.rb +34 -36
  139. data/lib/puppet/type/resources.rb +1 -5
  140. data/lib/puppet/type/schedule.rb +9 -12
  141. data/lib/puppet/type/selboolean.rb +2 -7
  142. data/lib/puppet/type/selmodule.rb +3 -4
  143. data/lib/puppet/type/service.rb +9 -9
  144. data/lib/puppet/type/ssh_authorized_key.rb +2 -3
  145. data/lib/puppet/type/sshkey.rb +4 -7
  146. data/lib/puppet/type/stage.rb +5 -4
  147. data/lib/puppet/type/tidy.rb +3 -3
  148. data/lib/puppet/type/user.rb +1 -2
  149. data/lib/puppet/type/whit.rb +7 -0
  150. data/lib/puppet/type/yumrepo.rb +16 -3
  151. data/lib/puppet/type/zfs.rb +1 -2
  152. data/lib/puppet/type/zone.rb +28 -28
  153. data/lib/puppet/type/zpool.rb +10 -5
  154. data/lib/puppet/util/autoload.rb +17 -5
  155. data/lib/puppet/util/cacher.rb +15 -10
  156. data/lib/puppet/util/command_line/puppetdoc +5 -5
  157. data/lib/puppet/util/command_line/puppetrun +0 -2
  158. data/lib/puppet/util/command_line/ralsh +13 -13
  159. data/lib/puppet/util/docs.rb +5 -12
  160. data/lib/puppet/util/monkey_patches.rb +5 -2
  161. data/lib/puppet/util/nagios_maker.rb +4 -5
  162. data/lib/puppet/util/provider_features.rb +2 -2
  163. data/lib/puppet/util/rdoc.rb +1 -1
  164. data/lib/puppet/util/rdoc/parser.rb +5 -3
  165. data/lib/puppet/util/reference.rb +3 -52
  166. data/man/man5/puppet.conf.5 +2072 -1526
  167. data/man/man8/filebucket.8 +104 -106
  168. data/man/man8/pi.8 +14 -47
  169. data/man/man8/puppet.8 +8 -9
  170. data/man/man8/puppetca.8 +168 -129
  171. data/man/man8/puppetd.8 +282 -226
  172. data/man/man8/puppetdoc.8 +103 -103
  173. data/man/man8/puppetmasterd.8 +51 -71
  174. data/man/man8/puppetqd.8 +18 -53
  175. data/man/man8/puppetrun.8 +163 -143
  176. data/man/man8/ralsh.8 +77 -114
  177. data/spec/integration/indirector/bucket_file/rest_spec.rb +1 -0
  178. data/spec/integration/indirector/certificate/rest_spec.rb +1 -0
  179. data/spec/integration/indirector/certificate_request/rest_spec.rb +1 -0
  180. data/spec/integration/indirector/certificate_revocation_list/rest_spec.rb +1 -0
  181. data/spec/integration/indirector/report/rest_spec.rb +1 -0
  182. data/spec/integration/indirector/rest_spec.rb +1 -0
  183. data/spec/integration/network/server/webrick_spec.rb +1 -0
  184. data/spec/integration/parser/compiler_spec.rb +43 -0
  185. data/spec/integration/provider/mailalias/aliases_spec.rb +5 -5
  186. data/spec/integration/ssl/certificate_authority_spec.rb +1 -0
  187. data/spec/integration/ssl/certificate_request_spec.rb +1 -0
  188. data/spec/integration/ssl/certificate_revocation_list_spec.rb +1 -0
  189. data/spec/integration/ssl/host_spec.rb +1 -0
  190. data/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb +0 -1
  191. data/spec/monkey_patches/publicize_methods.rb +11 -0
  192. data/spec/shared_behaviours/file_serving.rb +12 -1
  193. data/spec/spec_helper.rb +6 -25
  194. data/spec/unit/application/apply_spec.rb +22 -4
  195. data/spec/unit/application/cert_spec.rb +1 -1
  196. data/spec/unit/application/doc_spec.rb +0 -19
  197. data/spec/unit/application/master_spec.rb +1 -1
  198. data/spec/unit/application_spec.rb +2 -12
  199. data/spec/unit/indirector/node/ldap_spec.rb +19 -21
  200. data/spec/unit/indirector/yaml_spec.rb +18 -6
  201. data/spec/unit/network/http/rack/rest_spec.rb +3 -3
  202. data/spec/unit/network/http/webrick/rest_spec.rb +1 -0
  203. data/spec/unit/node/environment_spec.rb +32 -3
  204. data/spec/unit/node/facts_spec.rb +13 -2
  205. data/spec/unit/parameter/value_collection_spec.rb +2 -2
  206. data/spec/unit/parser/ast/leaf_spec.rb +4 -0
  207. data/spec/unit/parser/ast/resource_reference_spec.rb +0 -5
  208. data/spec/unit/parser/ast/resource_spec.rb +7 -0
  209. data/spec/unit/parser/compiler_spec.rb +12 -1
  210. data/spec/unit/parser/files_spec.rb +3 -3
  211. data/spec/unit/parser/functions/extlookup_spec.rb +95 -0
  212. data/spec/unit/parser/functions/include_spec.rb +33 -0
  213. data/spec/unit/parser/functions/require_spec.rb +1 -1
  214. data/spec/unit/parser/functions/tag_spec.rb +1 -0
  215. data/spec/unit/parser/lexer_spec.rb +10 -1
  216. data/spec/unit/parser/resource_spec.rb +3 -9
  217. data/spec/unit/parser/type_loader_spec.rb +1 -1
  218. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +4 -2
  219. data/spec/unit/rails/resource_spec.rb +1 -1
  220. data/spec/unit/reports/tagmail_spec.rb +2 -2
  221. data/spec/unit/resource/catalog_spec.rb +1 -1
  222. data/spec/unit/resource/type_collection_spec.rb +35 -0
  223. data/spec/unit/resource/type_spec.rb +19 -1
  224. data/spec/unit/resource_spec.rb +0 -36
  225. data/spec/unit/simple_graph_spec.rb +12 -2
  226. data/spec/unit/transaction/resource_harness_spec.rb +1 -1
  227. data/spec/unit/type/file/content_spec.rb +2 -1
  228. data/spec/unit/type/schedule_spec.rb +1 -1
  229. data/spec/unit/type/service_spec.rb +8 -0
  230. data/spec/unit/type/user_spec.rb +5 -0
  231. data/spec/unit/util/backups_spec.rb +0 -1
  232. data/spec/unit/util/rdoc/parser_spec.rb +3 -3
  233. data/spec/unit/util/rdoc_spec.rb +13 -0
  234. data/test/certmgr/support.rb +2 -1
  235. data/test/language/parser.rb +6 -6
  236. data/test/lib/puppettest.rb +3 -23
  237. data/test/lib/puppettest/fakes.rb +1 -1
  238. data/test/lib/puppettest/support/assertions.rb +0 -2
  239. data/test/lib/puppettest/support/utils.rb +25 -20
  240. data/test/ral/manager/attributes.rb +4 -1
  241. metadata +15 -9
  242. data/conf/suse/puppet.suse.patch +0 -16
  243. data/ext/extlookup.rb +0 -181
  244. data/ext/puppetlast +0 -16
  245. data/tasks/rake/tracdocs.rake +0 -8
  246. data/test/lib/mocha_standalone.rb +0 -2
@@ -1,108 +1,108 @@
1
- .TH "" "" ""
2
- .SH NAME
3
- \-
4
- .\" Man page generated from reStructeredText.
5
- .
6
- .SH SYNOPSIS
7
- .sp
8
- Generate a reference for all Puppet types. Largely meant for internal
9
- Reductive Labs use.
10
- .SH USAGE
11
- .INDENT 0.0
12
- .INDENT 3.5
13
- .INDENT 0.0
14
- .TP
15
- .B puppet doc [\-a|\-\-all] [\-h|\-\-help] [\-o|\-\-outputdir <rdoc outputdir>] [\-m|\-\-mode <text|pdf|markdown|trac|rdoc>]
16
- .
17
- [\-r|\-\-reference <[type]|configuration|..>] [\-\-charset CHARSET] [manifest\-file]
18
- .UNINDENT
19
- .UNINDENT
20
- .UNINDENT
21
- .SH DESCRIPTION
22
- .sp
23
- If mode is not \(aqrdoc\(aq, then this command generates a restructured\-text
24
- document describing all installed Puppet types or all allowable
25
- arguments to puppet executables. It is largely meant for internal use
26
- and is used to generate the reference document available on the
27
- Reductive Labs web site.
28
- .sp
29
- In \(aqrdoc\(aq mode, this command generates an html RDoc hierarchy describing
30
- the manifests that are in \(aqmanifestdir\(aq and \(aqmodulepath\(aq configuration
31
- directives. The generated documentation directory is doc by default but
32
- can be changed with the \(aqoutputdir\(aq option.
33
- .sp
34
- If the command is started with \(aqmanifest\-file\(aq command\-line arguments,
35
- puppet doc generate a single manifest documentation that is output on
36
- stdout.
37
- .SH OPTIONS
38
- .INDENT 0.0
39
- .TP
40
- .B all: Output the docs for all of the reference types. In \(aqrdoc\(aq
41
- .
42
- modes, this also outputs documentation for all resources
43
- .UNINDENT
44
- .sp
45
- help: Print this help message
46
- .INDENT 0.0
47
- .TP
48
- .B outputdir: Specifies the directory where to output the rdoc
49
- .
50
- documentation in \(aqrdoc\(aq mode.
51
- .TP
52
- .B mode: Determine the output mode. Valid modes are \(aqtext\(aq, \(aqtrac\(aq,
53
- .
54
- \(aqpdf\(aq, \(aqmarkdown\(aq and \(aqrdoc\(aq. The \(aqpdf\(aq and \(aqmarkdown\(aq modes
55
- create PDF or Markdown formatted files in the /tmp directory.
56
- Note that \(aqtrac\(aq mode only works on Reductive Labs servers.
57
- The default mode is \(aqtext\(aq. In \(aqrdoc\(aq mode you must provide
58
- \(aqmanifests\-path\(aq
59
- .TP
60
- .B reference: Build a particular reference. Get a list of references by
61
- .
62
- running +puppet doc \-\-list+.
63
- .TP
64
- .B charset: Used only in \(aqrdoc\(aq mode. It sets the charset used in the
65
- .
66
- html files produced.
67
- .UNINDENT
68
- .SH EXAMPLE
69
- .INDENT 0.0
70
- .INDENT 3.5
71
- .sp
72
- $ puppet doc \-r type > /tmp/type_reference.rst
73
- .UNINDENT
74
- .UNINDENT
75
- .sp
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "PUPPETDOC" "8" "August 2010" "" ""
5
+ Generate a reference for all Puppet types\. Largely meant for internal Reductive Labs use\.puppet doc [\-a|\-\-all] [\-h|\-\-help] [\-o|\-\-outputdir \fIrdoc outputdir\fR] [\-m|\-\-mode \fItext|pdf|rdoc\fR]
6
+ .
7
+ .IP "" 4
8
+ .
9
+ .nf
10
+
11
+ [\-r|\-\-reference <[type]|configuration|\.\.>] [\-\-charset CHARSET] [manifest\-file]
12
+ .
13
+ .fi
14
+ .
15
+ .IP "" 0
16
+ If mode is not \'rdoc\', then this command generates a Markdown document describing all installed Puppet types or all allowable arguments to puppet executables\. It is largely meant for internal use and is used to generate the reference document available on the Puppet Labs web site\.
17
+ .
18
+ .P
19
+ In \'rdoc\' mode, this command generates an html RDoc hierarchy describing the manifests that are in \'manifestdir\' and \'modulepath\' configuration directives\. The generated documentation directory is doc by default but can be changed with the \'outputdir\' option\.
20
+ .
21
+ .P
22
+ If the command is started with \'manifest\-file\' command\-line arguments, puppet doc generate a single manifest documentation that is output on stdout\.all: Output the docs for all of the reference types\. In \'rdoc\'
23
+ .
24
+ .IP "" 4
25
+ .
26
+ .nf
27
+
28
+ modes, this also outputs documentation for all resources
29
+ .
30
+ .fi
31
+ .
32
+ .IP "" 0
33
+ .
34
+ .P
35
+ help: Print this help message
36
+ .
37
+ .P
38
+ outputdir: Specifies the directory where to output the rdoc
39
+ .
40
+ .IP "" 4
41
+ .
42
+ .nf
43
+
44
+ documentation in \'rdoc\' mode\.
45
+ .
46
+ .fi
47
+ .
48
+ .IP "" 0
49
+ .
50
+ .P
51
+ mode: Determine the output mode\. Valid modes are \'text\', \'trac\',
52
+ .
53
+ .IP "" 4
54
+ .
55
+ .nf
56
+
57
+ \'pdf\' and \'rdoc\'\. The \'pdf\' mode creates PDF formatted files
58
+ in the /tmp directory\. The default mode is \'text\'\. In \'rdoc\'
59
+ mode you must provide \'manifests\-path\'
60
+ .
61
+ .fi
62
+ .
63
+ .IP "" 0
64
+ .
65
+ .P
66
+ reference: Build a particular reference\. Get a list of references by
67
+ .
68
+ .IP "" 4
69
+ .
70
+ .nf
71
+
72
+ running +puppet doc \-\-list+\.
73
+ .
74
+ .fi
75
+ .
76
+ .IP "" 0
77
+ .
78
+ .P
79
+ charset: Used only in \'rdoc\' mode\. It sets the charset used in the
80
+ .
81
+ .IP "" 4
82
+ .
83
+ .nf
84
+
85
+ html files produced\.
86
+ .
87
+ .fi
88
+ .
89
+ .IP "" 0
90
+ $ puppet doc \-r type > /tmp/type_reference\.rst
91
+ .
92
+ .P
76
93
  or
77
- .INDENT 0.0
78
- .INDENT 3.5
79
- .sp
94
+ .
95
+ .P
80
96
  $ puppet doc \-\-outputdir /tmp/rdoc \-\-mode rdoc /path/to/manifests
81
- .UNINDENT
82
- .UNINDENT
83
- .sp
97
+ .
98
+ .P
84
99
  or
85
- .INDENT 0.0
86
- .INDENT 3.5
87
- .sp
88
- $ puppet doc /etc/puppet/manifests/site.pp
89
- .UNINDENT
90
- .UNINDENT
91
- .sp
100
+ .
101
+ .P
102
+ $ puppet doc /etc/puppet/manifests/site\.pp
103
+ .
104
+ .P
92
105
  or
93
- .INDENT 0.0
94
- .INDENT 3.5
95
- .sp
96
- $ puppet doc \-m markdown \-r configuration
97
- .UNINDENT
98
- .UNINDENT
99
- .SH AUTHOR
100
- .sp
101
- Luke Kanies
102
- .SH COPYRIGHT
103
- .sp
104
- Copyright (c) 2005\-2007 Reductive Labs, LLC Licensed under the GNU
105
- Public License
106
- .\" Generated by docutils manpage writer.
107
- .\"
108
106
  .
107
+ .P
108
+ $ puppet doc \-m pdf \-r configurationLuke KaniesCopyright (c) 2005\-2007 Reductive Labs, LLC Licensed under the GNU Public License
@@ -1,72 +1,52 @@
1
- .TH "" "" ""
2
- .SH NAME
3
- \-
4
- .\" Man page generated from reStructeredText.
5
- .
6
- .SH SYNOPSIS
7
- .sp
8
- The central puppet server. Functions as a certificate authority by
9
- default.
10
- .SH USAGE
11
- .INDENT 0.0
12
- .INDENT 3.5
13
- .INDENT 0.0
14
- .TP
15
- .B puppet master [\-D|\-\-daemonize|\-\-no\-daemonize] [\-d|\-\-debug] [\-h|\-\-help]
16
- .
17
- [\-l|\-\-logdest <file>|console|syslog] [\-v|\-\-verbose] [\-V|\-\-version]
18
- .UNINDENT
19
- .UNINDENT
20
- .UNINDENT
21
- .SH DESCRIPTION
22
- .sp
23
- This is the puppet central daemon.
24
- .SH OPTIONS
25
- .sp
26
- Note that any configuration parameter that\(aqs valid in the configuration
27
- file is also a valid long argument. For example, \(aqssldir\(aq is a valid
28
- configuration parameter, so you can specify \(aq\-\-ssldir <directory>\(aq as an
29
- argument.
30
- .sp
31
- See the configuration file documentation at
32
- \fI\%http://docs.puppetlabs.com/references/stable/configuration.html\fP for the
33
- full list of acceptable parameters. A commented list of all
34
- configuration options can also be generated by running puppetmasterdd
35
- with \(aq\-\-genconfig\(aq.
36
- .sp
37
- daemonize: Send the process into the background. This is the default.
38
- .sp
39
- no\-daemonize: Do not send the process into the background.
40
- .sp
41
- debug: Enable full debugging.
42
- .sp
43
- help: Print this help message.
44
- .INDENT 0.0
45
- .TP
46
- .B logdest: Where to send messages. Choose between syslog, the
47
- .
48
- console, and a log file. Defaults to sending messages to
49
- syslog, or the console if debugging or verbosity is
50
- enabled.
51
- .UNINDENT
52
- .sp
53
- verbose: Enable verbosity.
54
- .sp
55
- version: Print the puppet version number and exit.
56
- .SH EXAMPLE
57
- .INDENT 0.0
58
- .INDENT 3.5
59
- .sp
60
- puppet master
61
- .UNINDENT
62
- .UNINDENT
63
- .SH AUTHOR
64
- .sp
65
- Luke Kanies
66
- .SH COPYRIGHT
67
- .sp
68
- Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
69
- License
70
- .\" Generated by docutils manpage writer.
71
- .\"
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
72
3
  .
4
+ .TH "PUPPETMASTERD" "8" "August 2010" "" ""
5
+ The central puppet server\. Functions as a certificate authority by default\.puppet master [\-D|\-\-daemonize|\-\-no\-daemonize] [\-d|\-\-debug] [\-h|\-\-help]
6
+ .
7
+ .IP "" 4
8
+ .
9
+ .nf
10
+
11
+ [\-l|\-\-logdest <file>|console|syslog] [\-v|\-\-verbose] [\-V|\-\-version]
12
+ .
13
+ .fi
14
+ .
15
+ .IP "" 0
16
+ This is the puppet central daemon\.Note that any configuration parameter that\'s valid in the configuration file is also a valid long argument\. For example, \'ssldir\' is a valid configuration parameter, so you can specify \'\-\-ssldir \fIdirectory\fR\' as an argument\.
17
+ .
18
+ .P
19
+ See the configuration file documentation at http://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 puppetmasterdd with \'\-\-genconfig\'\.
20
+ .
21
+ .P
22
+ daemonize: Send the process into the background\. This is the default\.
23
+ .
24
+ .P
25
+ no\-daemonize: Do not send the process into the background\.
26
+ .
27
+ .P
28
+ debug: Enable full debugging\.
29
+ .
30
+ .P
31
+ help: Print this help message\.
32
+ .
33
+ .P
34
+ logdest: Where to send messages\. Choose between syslog, the
35
+ .
36
+ .IP "" 4
37
+ .
38
+ .nf
39
+
40
+ console, and a log file\. Defaults to sending messages to
41
+ syslog, or the console if debugging or verbosity is
42
+ enabled\.
43
+ .
44
+ .fi
45
+ .
46
+ .IP "" 0
47
+ .
48
+ .P
49
+ verbose: Enable verbosity\.
50
+ .
51
+ .P
52
+ version: Print the puppet version number and exit\.puppet masterLuke KaniesCopyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public License
@@ -1,55 +1,20 @@
1
- .TH SYNOPSIS "" "" ""
2
- .SH NAME
3
- Synopsis \-
4
- .\" Man page generated from reStructeredText.
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
5
3
  .
6
- .sp
7
- Retrieve serialized records from a queue and process them in order.
8
- .SH USAGE
9
- .INDENT 0.0
10
- .INDENT 3.5
11
- .sp
12
- puppet queue [\-d|\-\-debug] [\-v|\-\-verbose]
13
- .UNINDENT
14
- .UNINDENT
15
- .SH DESCRIPTION
16
- .sp
17
- This is a simple application that just processes entities in a queue as
18
- they are recieved.
19
- .SH OPTIONS
20
- .sp
21
- Note that any configuration parameter that\(aqs valid in the configuration
22
- file is also a valid long argument. For example, \(aqserver\(aq is a valid
23
- configuration parameter, so you can specify \(aq\-\-server <servername>\(aq as
24
- an argument.
25
- .sp
26
- See the configuration file documentation at
27
- \fI\%http://docs.puppetlabs.com/references/stable/configuration.html\fP for the
28
- full list of acceptable parameters. A commented list of all
29
- configuration options can also be generated by running puppetd with
30
- \(aq\-\-genconfig\(aq.
31
- .sp
32
- debug: Enable full debugging.
33
- .sp
34
- help: Print this help message
35
- .sp
36
- verbose: Turn on verbose reporting.
37
- .sp
38
- version: Print the puppet version number and exit.
39
- .SH EXAMPLE
40
- .INDENT 0.0
41
- .INDENT 3.5
42
- .sp
43
- puppet queue
44
- .UNINDENT
45
- .UNINDENT
46
- .SH AUTHOR
47
- .sp
48
- Luke Kanies
49
- .SH COPYRIGHT
50
- .sp
51
- Copyright (c) 2009 Reductive Labs, LLC Licensed under the GNU Public
52
- License
53
- .\" Generated by docutils manpage writer.
54
- .\"
4
+ .TH "PUPPETQD" "8" "August 2010" "" ""
5
+ puppet queue [\-d|\-\-debug] [\-v|\-\-verbose]This is a simple application that just processes entities in a queue as they are recieved\.Note that any configuration parameter that\'s valid in the configuration file is also a valid long argument\. For example, \'server\' is a valid configuration parameter, so you can specify \'\-\-server \fIservername\fR\' as an argument\.
55
6
  .
7
+ .P
8
+ See the configuration file documentation at http://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 puppetd with \'\-\-genconfig\'\.
9
+ .
10
+ .P
11
+ debug: Enable full debugging\.
12
+ .
13
+ .P
14
+ help: Print this help message
15
+ .
16
+ .P
17
+ verbose: Turn on verbose reporting\.
18
+ .
19
+ .P
20
+ version: Print the puppet version number and exit\.puppet queueLuke KaniesCopyright (c) 2009 Reductive Labs, LLC Licensed under the GNU Public License
@@ -1,153 +1,173 @@
1
- .TH "" "" ""
2
- .SH NAME
3
- \-
4
- .\" Man page generated from reStructeredText.
5
- .
6
- .SH SYNOPSIS
7
- .sp
8
- Trigger a puppet agent run on a set of hosts.
9
- .SH USAGE
10
- .INDENT 0.0
11
- .INDENT 3.5
12
- .INDENT 0.0
13
- .TP
14
- .B puppet kick [\-a|\-\-all] [\-c|\-\-class <class>] [\-d|\-\-debug] [\-f|\-\-foreground]
15
- .
16
- [\-h|\-\-help] [\-\-host <host>] [\-\-no\-fqdn] [\-\-ignoreschedules]
17
- [\-t|\-\-tag <tag>] [\-\-test] [\-p|\-\-ping] <host> [<host> [...]]
18
- .UNINDENT
19
- .UNINDENT
20
- .UNINDENT
21
- .SH DESCRIPTION
22
- .sp
23
- This script can be used to connect to a set of machines running +puppet
24
- agent+ and trigger them to run their configurations. The most common
25
- usage would be to specify a class of hosts and a set of tags, and
26
- +puppet kick+ would look up in LDAP all of the hosts matching that
27
- class, then connect to each host and trigger a run of all of the objects
28
- with the specified tags.
29
- .sp
30
- If you are not storing your host configurations in LDAP, you can specify
31
- hosts manually.
32
- .sp
33
- You will most likely have to run +puppet kick+ as root to get access to
34
- the SSL certificates.
35
- .sp
36
- +puppet kick+ reads +puppet master+\(aqs configuration file, so that it can
37
- copy things like LDAP settings.
38
- .SH USAGE NOTES
39
- .sp
40
- +puppet kick+ is useless unless +puppet agent+ is listening. See its
41
- documentation for more information, but the gist is that you must enable
42
- +listen+ on the +puppet agent+ daemon, either using +\-\-listen+ on the
43
- command line or adding \(aqlisten: true\(aq in its config file. In addition,
44
- you need to set the daemons up to specifically allow connections by
45
- creating the +namespaceauth+ file, normally at
46
- \(aq/etc/puppet/namespaceauth.conf\(aq. This file specifies who has access to
47
- each namespace; if you create the file you must add every namespace you
48
- want any Puppet daemon to allow \-\- it is currently global to all Puppet
49
- daemons.
50
- .sp
51
- An example file looks like this:
52
- .sp
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "PUPPETRUN" "8" "August 2010" "" ""
5
+ Trigger a puppet agent run on a set of hosts\.puppet kick [\-a|\-\-all] [\-c|\-\-class \fIclass\fR] [\-d|\-\-debug] [\-f|\-\-foreground]
6
+ .
7
+ .IP "" 4
8
+ .
53
9
  .nf
54
- .ft C
10
+
11
+ [\-h|\-\-help] [\-\-host <host>] [\-\-no\-fqdn] [\-\-ignoreschedules]
12
+ [\-t|\-\-tag <tag>] [\-\-test] [\-p|\-\-ping] <host> [<host> [\.\.\.]]
13
+ .
14
+ .fi
15
+ .
16
+ .IP "" 0
17
+ This script can be used to connect to a set of machines running +puppet agent+ and trigger them to run their configurations\. The most common usage would be to specify a class of hosts and a set of tags, and +puppet kick+ would look up in LDAP all of the hosts matching that class, then connect to each host and trigger a run of all of the objects with the specified tags\.
18
+ .
19
+ .P
20
+ If you are not storing your host configurations in LDAP, you can specify hosts manually\.
21
+ .
22
+ .P
23
+ You will most likely have to run +puppet kick+ as root to get access to the SSL certificates\.
24
+ .
25
+ .P
26
+ +puppet kick+ reads +puppet master+\'s configuration file, so that it can copy things like LDAP settings\.+puppet kick+ is useless unless +puppet agent+ is listening\. See its documentation for more information, but the gist is that you must enable +listen+ on the +puppet agent+ daemon, either using +\-\-listen+ on the command line or adding \'listen: true\' in its config file\. In addition, you need to set the daemons up to specifically allow connections by creating the +namespaceauth+ file, normally at \'/etc/puppet/namespaceauth\.conf\'\. This file specifies who has access to each namespace; if you create the file you must add every namespace you want any Puppet daemon to allow \-\- it is currently global to all Puppet daemons\.
27
+ .
28
+ .P
29
+ An example file looks like this::
30
+ .
31
+ .IP "" 4
32
+ .
33
+ .nf
34
+
55
35
  [fileserver]
56
- allow *.madstop.com
36
+ allow *\.madstop\.com
57
37
 
58
38
  [puppetmaster]
59
- allow *.madstop.com
39
+ allow *\.madstop\.com
60
40
 
61
41
  [puppetrunner]
62
- allow culain.madstop.com
63
- .ft P
42
+ allow culain\.madstop\.com
43
+ .
44
+ .fi
45
+ .
46
+ .IP "" 0
47
+ .
48
+ .P
49
+ This is what you would install on your Puppet master; non\-master hosts could leave off the \'fileserver\' and \'puppetmaster\' namespaces\.Note that any configuration parameter that\'s valid in the configuration file is also a valid long argument\. For example, \'ssldir\' is a valid configuration parameter, so you can specify \'\-\-ssldir \fIdirectory\fR\' as an argument\.
50
+ .
51
+ .P
52
+ See the configuration file documentation at http://reductivelabs\.com/projects/puppet/reference/configref\.html for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet master with \'\-\-genconfig\'\.
53
+ .
54
+ .P
55
+ all: Connect to all available hosts\. Requires LDAP support
56
+ .
57
+ .IP "" 4
58
+ .
59
+ .nf
60
+
61
+ at this point\.
62
+ .
63
+ .fi
64
+ .
65
+ .IP "" 0
66
+ .
67
+ .P
68
+ class: Specify a class of machines to which to connect\. This
69
+ .
70
+ .IP "" 4
71
+ .
72
+ .nf
73
+
74
+ only works if you have LDAP configured, at the moment\.
75
+ .
76
+ .fi
77
+ .
78
+ .IP "" 0
79
+ .
80
+ .P
81
+ debug: Enable full debugging\.
82
+ .
83
+ .P
84
+ foreground: Run each configuration in the foreground; that is, when
85
+ .
86
+ .IP "" 4
87
+ .
88
+ .nf
89
+
90
+ connecting to a host, do not return until the host has
91
+ finished its run\. The default is false\.
92
+ .
93
+ .fi
94
+ .
95
+ .IP "" 0
96
+ .
97
+ .P
98
+ help: Print this help message
99
+ .
100
+ .P
101
+ host: A specific host to which to connect\. This flag can be
102
+ .
103
+ .IP "" 4
104
+ .
105
+ .nf
106
+
107
+ specified more than once\.
108
+ .
109
+ .fi
110
+ .
111
+ .IP "" 0
112
+ .
113
+ .P
114
+ ignoreschedules: Whether the client should ignore schedules when running
115
+ .
116
+ .IP "" 4
117
+ .
118
+ .nf
119
+
120
+ its configuration\. This can be used to force the client
121
+ to perform work it would not normally perform so soon\.
122
+ The default is false\.
123
+ .
124
+ .fi
125
+ .
126
+ .IP "" 0
127
+ .
128
+ .P
129
+ parallel: How parallel to make the connections\. Parallelization
130
+ .
131
+ .IP "" 4
132
+ .
133
+ .nf
134
+
135
+ is provided by forking for each client to which to
136
+ connect\. The default is 1, meaning serial execution\.
137
+ .
64
138
  .fi
65
- .sp
66
- This is what you would install on your Puppet master; non\-master hosts
67
- could leave off the \(aqfileserver\(aq and \(aqpuppetmaster\(aq namespaces.
68
- .sp
69
- Expect more documentation on this eventually.
70
- .SH OPTIONS
71
- .sp
72
- Note that any configuration parameter that\(aqs valid in the configuration
73
- file is also a valid long argument. For example, \(aqssldir\(aq is a valid
74
- configuration parameter, so you can specify \(aq\-\-ssldir <directory>\(aq as an
75
- argument.
76
- .sp
77
- See the configuration file documentation at
78
- \fI\%http://reductivelabs.com/projects/puppet/reference/configref.html\fP for
79
- the full list of acceptable parameters. A commented list of all
80
- configuration options can also be generated by running puppet master
81
- with \(aq\-\-genconfig\(aq.
82
- .INDENT 0.0
83
- .TP
84
- .B all: Connect to all available hosts. Requires LDAP support
85
- .
86
- at this point.
87
- .TP
88
- .B class: Specify a class of machines to which to connect. This
89
- .
90
- only works if you have LDAP configured, at the moment.
91
- .UNINDENT
92
- .sp
93
- debug: Enable full debugging.
94
- .INDENT 0.0
95
- .TP
96
- .B foreground: Run each configuration in the foreground; that is, when
97
- .
98
- connecting to a host, do not return until the host has
99
- finished its run. The default is false.
100
- .UNINDENT
101
- .sp
102
- help: Print this help message
103
- .INDENT 0.0
104
- .TP
105
- .B host: A specific host to which to connect. This flag can be
106
- .
107
- specified more than once.
108
- .TP
109
- .B ignoreschedules: Whether the client should ignore schedules when running
110
- .
111
- its configuration. This can be used to force the client
112
- to perform work it would not normally perform so soon.
113
- The default is false.
114
- .TP
115
- .B parallel: How parallel to make the connections. Parallelization
116
- .
117
- is provided by forking for each client to which to
118
- connect. The default is 1, meaning serial execution.
119
- .TP
120
- .B tag: Specify a tag for selecting the objects to apply. Does
121
- .
122
- not work with the \-\-test option.
123
- .TP
124
- .B test: Print the hosts you would connect to but do not
125
- .
126
- actually connect. This option requires LDAP support at
127
- this point.
128
- .UNINDENT
129
- .sp
130
- ping:
131
- .sp
139
+ .
140
+ .IP "" 0
141
+ .
142
+ .P
143
+ tag: Specify a tag for selecting the objects to apply\. Does
144
+ .
145
+ .IP "" 4
146
+ .
132
147
  .nf
133
- .ft C
134
- Do a ICMP echo against the target host. Skip hosts that don\(aqt respond to ping.
135
- .ft P
148
+
149
+ not work with the \-\-test option\.
150
+ .
136
151
  .fi
137
- .SH EXAMPLE
138
- .INDENT 0.0
139
- .INDENT 3.5
140
- .sp
141
- sudo puppet kick \-p 10 \-t remotefile \-t webserver host1 host2
142
- .UNINDENT
143
- .UNINDENT
144
- .SH AUTHOR
145
- .sp
146
- Luke Kanies
147
- .SH COPYRIGHT
148
- .sp
149
- Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
150
- License
151
- .\" Generated by docutils manpage writer.
152
- .\"
153
152
  .
153
+ .IP "" 0
154
+ .
155
+ .P
156
+ test: Print the hosts you would connect to but do not
157
+ .
158
+ .IP "" 4
159
+ .
160
+ .nf
161
+
162
+ actually connect\. This option requires LDAP support at
163
+ this point\.
164
+ .
165
+ .fi
166
+ .
167
+ .IP "" 0
168
+ .
169
+ .P
170
+ ping::
171
+ .
172
+ .P
173
+ Do a ICMP echo against the target host\. Skip hosts that don\'t respond to ping\.sudo puppet kick \-p 10 \-t remotefile \-t webserver host1 host2Luke KaniesCopyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public License