puppet 0.25.4 → 0.25.5

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 (169) hide show
  1. data/CHANGELOG +679 -23
  2. data/LICENSE +2 -2
  3. data/README +2 -2
  4. data/README.queueing +1 -1
  5. data/README.rst +2 -2
  6. data/Rakefile +4 -2
  7. data/bin/filebucket +2 -2
  8. data/bin/pi +1 -1
  9. data/bin/puppet +2 -2
  10. data/bin/puppetca +2 -2
  11. data/bin/puppetd +5 -4
  12. data/bin/puppetdoc +4 -4
  13. data/bin/puppetmasterd +2 -2
  14. data/bin/puppetqd +2 -2
  15. data/bin/puppetrun +2 -2
  16. data/bin/ralsh +2 -2
  17. data/conf/epm.list +2 -2
  18. data/conf/gentoo/puppet/puppet.conf +0 -4
  19. data/conf/osx/PackageInfo.plist +1 -1
  20. data/conf/redhat/logrotate +1 -0
  21. data/conf/redhat/puppet.conf +0 -4
  22. data/conf/redhat/puppet.spec +16 -10
  23. data/conf/solaris/pkginfo +2 -2
  24. data/conf/solaris/smf/puppetd.xml +3 -3
  25. data/conf/solaris/smf/puppetmasterd.xml +3 -3
  26. data/conf/solaris/smf/svc-puppetd +1 -1
  27. data/conf/solaris/smf/svc-puppetmasterd +1 -1
  28. data/conf/suse/puppet.spec +16 -14
  29. data/conf/suse/puppet.suse.patch +16 -0
  30. data/examples/etc/puppet/fileserver.conf +5 -5
  31. data/examples/modules/sample-module/README.txt +3 -3
  32. data/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +1 -1
  33. data/ext/extlookup.rb +1 -1
  34. data/ext/nagios/check_puppet.rb +1 -1
  35. data/ext/nagios/naggen +2 -2
  36. data/ext/puppet-test +2 -2
  37. data/ext/puppetlast +1 -1
  38. data/ext/puppetstoredconfigclean.rb +1 -1
  39. data/ext/regexp_nodes/regexp_nodes.rb +4 -4
  40. data/ext/vim/syntax/puppet.vim +5 -3
  41. data/install.rb +11 -9
  42. data/lib/puppet.rb +1 -1
  43. data/lib/puppet/application/puppetd.rb +5 -4
  44. data/lib/puppet/configurer.rb +38 -31
  45. data/lib/puppet/defaults.rb +18 -13
  46. data/lib/puppet/file_serving/fileset.rb +2 -2
  47. data/lib/puppet/file_serving/terminus_helper.rb +1 -0
  48. data/lib/puppet/indirector/indirection.rb +20 -13
  49. data/lib/puppet/network/authstore.rb +3 -3
  50. data/lib/puppet/network/format_handler.rb +1 -1
  51. data/lib/puppet/network/handler/fileserver.rb +2 -2
  52. data/lib/puppet/network/handler/master.rb +1 -1
  53. data/lib/puppet/network/http_pool.rb +0 -2
  54. data/lib/puppet/network/http_server/webrick.rb +1 -1
  55. data/lib/puppet/parser/ast/casestatement.rb +4 -4
  56. data/lib/puppet/parser/ast/ifstatement.rb +2 -1
  57. data/lib/puppet/parser/ast/leaf.rb +1 -0
  58. data/lib/puppet/parser/ast/selector.rb +2 -3
  59. data/lib/puppet/parser/functions/generate.rb +3 -5
  60. data/lib/puppet/parser/functions/require.rb +8 -1
  61. data/lib/puppet/parser/functions/template.rb +1 -1
  62. data/lib/puppet/parser/lexer.rb +1 -7
  63. data/lib/puppet/parser/resource.rb +10 -4
  64. data/lib/puppet/parser/scope.rb +61 -9
  65. data/lib/puppet/provider/augeas/augeas.rb +23 -7
  66. data/lib/puppet/provider/macauthorization/macauthorization.rb +1 -1
  67. data/lib/puppet/provider/maillist/mailman.rb +2 -2
  68. data/lib/puppet/provider/package/portage.rb +2 -2
  69. data/lib/puppet/provider/service/debian.rb +2 -2
  70. data/lib/puppet/provider/service/redhat.rb +1 -1
  71. data/lib/puppet/provider/service/smf.rb +4 -1
  72. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -29
  73. data/lib/puppet/provider/user/user_role_add.rb +1 -1
  74. data/lib/puppet/reference/configuration.rb +1 -1
  75. data/lib/puppet/reference/providers.rb +1 -1
  76. data/lib/puppet/reports/tagmail.rb +1 -0
  77. data/lib/puppet/resource/catalog.rb +1 -8
  78. data/lib/puppet/simple_graph.rb +37 -12
  79. data/lib/puppet/ssl/certificate.rb +2 -3
  80. data/lib/puppet/ssl/certificate_authority.rb +1 -1
  81. data/lib/puppet/ssl/host.rb +19 -12
  82. data/lib/puppet/sslcertificates/ca.rb +5 -6
  83. data/lib/puppet/transaction.rb +11 -15
  84. data/lib/puppet/type/augeas.rb +2 -1
  85. data/lib/puppet/type/exec.rb +1 -1
  86. data/lib/puppet/type/file.rb +9 -2
  87. data/lib/puppet/type/file/checksum.rb +2 -1
  88. data/lib/puppet/type/file/source.rb +4 -4
  89. data/lib/puppet/type/maillist.rb +10 -0
  90. data/lib/puppet/type/mount.rb +5 -3
  91. data/lib/puppet/type/tidy.rb +36 -30
  92. data/lib/puppet/util/autoload.rb +2 -2
  93. data/lib/puppet/util/checksums.rb +5 -0
  94. data/lib/puppet/util/monkey_patches.rb +38 -0
  95. data/lib/puppet/util/nagios_maker.rb +1 -1
  96. data/lib/puppet/util/settings.rb +14 -4
  97. data/lib/puppet/util/suidmanager.rb +26 -2
  98. data/lib/puppet/util/zaml.rb +318 -0
  99. data/man/{man8/puppet.conf.8 → man5/puppet.conf.5} +594 -899
  100. data/man/man8/filebucket.8 +31 -45
  101. data/man/man8/pi.8 +16 -22
  102. data/man/man8/puppet.8 +26 -36
  103. data/man/man8/puppetca.8 +38 -51
  104. data/man/man8/puppetd.8 +48 -64
  105. data/man/man8/puppetdoc.8 +37 -48
  106. data/man/man8/puppetmasterd.8 +24 -32
  107. data/man/man8/puppetqd.8 +22 -27
  108. data/man/man8/puppetrun.8 +46 -58
  109. data/man/man8/ralsh.8 +43 -48
  110. data/spec/integration/bin/puppetmasterd.rb +20 -9
  111. data/spec/integration/defaults.rb +4 -0
  112. data/spec/integration/indirector/certificate/rest.rb +0 -1
  113. data/spec/integration/indirector/certificate_request/rest.rb +0 -1
  114. data/spec/integration/indirector/certificate_revocation_list/rest.rb +0 -1
  115. data/spec/integration/indirector/report/rest.rb +0 -1
  116. data/spec/integration/indirector/rest.rb +0 -1
  117. data/spec/integration/parser/functions/require.rb +18 -1
  118. data/spec/unit/application/filebucket.rb +2 -2
  119. data/spec/unit/application/puppetd.rb +4 -5
  120. data/spec/unit/configurer.rb +46 -8
  121. data/spec/unit/file_serving/fileset.rb +6 -0
  122. data/spec/unit/file_serving/terminus_helper.rb +10 -0
  123. data/spec/unit/indirector/indirection.rb +17 -28
  124. data/spec/unit/network/format_handler.rb +3 -2
  125. data/spec/unit/network/http_pool.rb +9 -17
  126. data/spec/unit/parser/ast/casestatement.rb +4 -12
  127. data/spec/unit/parser/ast/ifstatement.rb +2 -1
  128. data/spec/unit/parser/ast/leaf.rb +15 -2
  129. data/spec/unit/parser/ast/selector.rb +4 -12
  130. data/spec/unit/parser/functions/generate.rb +41 -0
  131. data/spec/unit/parser/functions/require.rb +23 -2
  132. data/spec/unit/parser/resource.rb +18 -0
  133. data/spec/unit/parser/scope.rb +94 -3
  134. data/spec/unit/provider/augeas/augeas.rb +27 -3
  135. data/spec/unit/provider/ssh_authorized_key/parsed.rb +30 -19
  136. data/spec/unit/resource/catalog.rb +16 -39
  137. data/spec/unit/simple_graph.rb +14 -0
  138. data/spec/unit/ssl/host.rb +55 -17
  139. data/spec/unit/type/file.rb +43 -11
  140. data/spec/unit/type/file/checksum.rb +28 -0
  141. data/spec/unit/type/tidy.rb +30 -1
  142. data/spec/unit/util/autoload.rb +2 -1
  143. data/spec/unit/util/checksums.rb +7 -1
  144. data/spec/unit/util/settings.rb +39 -2
  145. data/spec/unit/util/zaml.rb +38 -0
  146. data/tasks/rake/changelog.rake +1 -1
  147. data/tasks/rake/gem.rake +3 -3
  148. data/tasks/rake/git_workflow.rake +1 -1
  149. data/tasks/rake/sign.rake +1 -1
  150. data/tasks/rake/yard.rake +11 -0
  151. data/test/certmgr/certmgr.rb +1 -1
  152. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +1 -1
  153. data/test/lib/puppettest/support/utils.rb +2 -1
  154. data/test/network/handler/ca.rb +4 -4
  155. data/test/network/handler/fileserver.rb +15 -9
  156. data/test/other/transactions.rb +1 -6
  157. data/test/puppet/tc_suidmanager.rb +7 -2
  158. data/test/ral/providers/host/parsed.rb +6 -6
  159. data/test/ral/providers/package.rb +4 -0
  160. data/test/ral/providers/sshkey/parsed.rb +5 -5
  161. data/test/ral/type/file.rb +0 -21
  162. data/test/ral/type/host.rb +4 -4
  163. data/test/ral/type/resources.rb +0 -78
  164. data/test/ral/type/sshkey.rb +2 -2
  165. data/test/test +1 -1
  166. data/test/util/settings.rb +6 -6
  167. metadata +1065 -1050
  168. data/test/executables/puppetmodule.rb +0 -55
  169. data/test/ral/providers/service/debian.rb +0 -58
data/man/man8/puppetqd.8 CHANGED
@@ -1,60 +1,55 @@
1
- .TH Synopsis "" "" ""
1
+ .TH SYNOPSIS "" "" ""
2
2
  .SH NAME
3
3
  Synopsis \-
4
4
  .\" Man page generated from reStructeredText.
5
+ .
6
+ .sp
5
7
  Retrieve serialized records from a queue and process them in order.
6
-
7
-
8
8
  .SH USAGE
9
9
  .INDENT 0.0
10
10
  .INDENT 3.5
11
+ .sp
11
12
  puppetqd [\-d|\-\-debug] [\-v|\-\-verbose]
12
-
13
13
  .UNINDENT
14
14
  .UNINDENT
15
-
16
15
  .SH DESCRIPTION
16
+ .sp
17
17
  This is a simple application that just processes entities in a queue as
18
18
  they are recieved.
19
-
20
-
21
19
  .SH OPTIONS
22
- Note that any configuration parameter that\'s valid in the configuration
23
- file is also a valid long argument. For example, \'server\' is a valid
24
- configuration parameter, so you can specify \'\-\-server <servername>\' as
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
25
24
  an argument.
26
-
25
+ .sp
27
26
  See the configuration file documentation at
28
- \fI\%http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference\fP for the
27
+ \fI\%http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference\fP for the
29
28
  full list of acceptable parameters. A commented list of all
30
29
  configuration options can also be generated by running puppetd with
31
- \'\-\-genconfig\'.
32
-
30
+ \(aq\-\-genconfig\(aq.
31
+ .sp
33
32
  debug: Enable full debugging.
34
-
33
+ .sp
35
34
  help: Print this help message
36
-
35
+ .sp
37
36
  verbose: Turn on verbose reporting.
38
-
37
+ .sp
39
38
  version: Print the puppet version number and exit.
40
-
41
-
42
39
  .SH EXAMPLE
43
40
  .INDENT 0.0
44
41
  .INDENT 3.5
42
+ .sp
45
43
  puppetqd
46
-
47
44
  .UNINDENT
48
45
  .UNINDENT
49
-
50
46
  .SH AUTHOR
47
+ .sp
51
48
  Luke Kanies
52
-
53
-
54
49
  .SH COPYRIGHT
55
- Copyright (c) 2009 Reductive Labs, LLC Licensed under the GNU Public
50
+ .sp
51
+ Copyright (c) 2009 Puppet Labs, LLC Licensed under the GNU Public
56
52
  License
57
-
58
-
59
- .\" Generated by docutils manpage writer on 2009-12-30 19:32.
53
+ .\" Generated by docutils manpage writer.
60
54
  .\"
55
+ .
data/man/man8/puppetrun.8 CHANGED
@@ -2,58 +2,55 @@
2
2
  .SH NAME
3
3
  \-
4
4
  .\" Man page generated from reStructeredText.
5
-
5
+ .
6
6
  .SH SYNOPSIS
7
+ .sp
7
8
  Trigger a puppetd run on a set of hosts.
8
-
9
-
10
9
  .SH USAGE
11
10
  .INDENT 0.0
12
11
  .INDENT 3.5
13
12
  .INDENT 0.0
14
-
15
13
  .TP
16
14
  .B puppetrun [\-a|\-\-all] [\-c|\-\-class <class>] [\-d|\-\-debug] [\-f|\-\-foreground]
15
+ .
17
16
  [\-h|\-\-help] [\-\-host <host>] [\-\-no\-fqdn] [\-\-ignoreschedules]
18
17
  [\-t|\-\-tag <tag>] [\-\-test] [\-p|\-\-ping]
19
-
20
18
  .UNINDENT
21
19
  .UNINDENT
22
20
  .UNINDENT
23
-
24
21
  .SH DESCRIPTION
22
+ .sp
25
23
  This script can be used to connect to a set of machines running
26
24
  +puppetd+ and trigger them to run their configurations. The most common
27
25
  usage would be to specify a class of hosts and a set of tags, and
28
26
  +puppetrun+ would look up in LDAP all of the hosts matching that class,
29
27
  then connect to each host and trigger a run of all of the objects with
30
28
  the specified tags.
31
-
29
+ .sp
32
30
  If you are not storing your host configurations in LDAP, you can specify
33
31
  hosts manually.
34
-
32
+ .sp
35
33
  You will most likely have to run +puppetrun+ as root to get access to
36
34
  the SSL certificates.
37
-
38
- +puppetrun+ reads +puppetmaster+\'s configuration file, so that it can
35
+ .sp
36
+ +puppetrun+ reads +puppetmaster+\(aqs configuration file, so that it can
39
37
  copy things like LDAP settings.
40
-
41
-
42
38
  .SH USAGE NOTES
39
+ .sp
43
40
  +puppetrun+ is useless unless +puppetd+ is listening. See its
44
41
  documentation for more information, but the gist is that you must enable
45
42
  +listen+ on the +puppetd+ daemon, either using +\-\-listen+ on the command
46
- line or adding \'listen: true\' in its config file. In addition, you need
43
+ line or adding \(aqlisten: true\(aq in its config file. In addition, you need
47
44
  to set the daemons up to specifically allow connections by creating the
48
- +namespaceauth+ file, normally at \'/etc/puppet/namespaceauth.conf\'. This
45
+ +namespaceauth+ file, normally at \(aq/etc/puppet/namespaceauth.conf\(aq. This
49
46
  file specifies who has access to each namespace; if you create the file
50
47
  you must add every namespace you want any Puppet daemon to allow \-\- it
51
48
  is currently global to all Puppet daemons.
52
-
49
+ .sp
53
50
  An example file looks like this:
54
-
55
-
51
+ .sp
56
52
  .nf
53
+ .ft C
57
54
  [fileserver]
58
55
  allow *.madstop.com
59
56
 
@@ -62,103 +59,94 @@ An example file looks like this:
62
59
 
63
60
  [puppetrunner]
64
61
  allow culain.madstop.com
62
+ .ft P
65
63
  .fi
64
+ .sp
66
65
  This is what you would install on your Puppet master; non\-master hosts
67
- could leave off the \'fileserver\' and \'puppetmaster\' namespaces.
68
-
66
+ could leave off the \(aqfileserver\(aq and \(aqpuppetmaster\(aq namespaces.
67
+ .sp
69
68
  Expect more documentation on this eventually.
70
-
71
-
72
69
  .SH OPTIONS
73
- Note that any configuration parameter that\'s valid in the configuration
74
- file is also a valid long argument. For example, \'ssldir\' is a valid
75
- configuration parameter, so you can specify \'\-\-ssldir <directory>\' as an
70
+ .sp
71
+ Note that any configuration parameter that\(aqs valid in the configuration
72
+ file is also a valid long argument. For example, \(aqssldir\(aq is a valid
73
+ configuration parameter, so you can specify \(aq\-\-ssldir <directory>\(aq as an
76
74
  argument.
77
-
75
+ .sp
78
76
  See the configuration file documentation at
79
- \fI\%http://reductivelabs.com/projects/puppet/reference/configref.html\fP for
77
+ \fI\%http://puppetlabs.com/projects/puppet/reference/configref.html\fP for
80
78
  the full list of acceptable parameters. A commented list of all
81
79
  configuration options can also be generated by running puppetmasterdd
82
- with \'\-\-genconfig\'.
83
-
80
+ with \(aq\-\-genconfig\(aq.
84
81
  .INDENT 0.0
85
-
86
82
  .TP
87
83
  .B all: Connect to all available hosts. Requires LDAP support
84
+ .
88
85
  at this point.
89
-
90
-
91
86
  .TP
92
87
  .B class: Specify a class of machines to which to connect. This
88
+ .
93
89
  only works if you have LDAP configured, at the moment.
94
-
95
90
  .UNINDENT
91
+ .sp
96
92
  debug: Enable full debugging.
97
-
98
93
  .INDENT 0.0
99
-
100
94
  .TP
101
95
  .B foreground: Run each configuration in the foreground; that is, when
96
+ .
102
97
  connecting to a host, do not return until the host has
103
98
  finished its run. The default is false.
104
-
105
99
  .UNINDENT
100
+ .sp
106
101
  help: Print this help message
107
-
108
102
  .INDENT 0.0
109
-
110
103
  .TP
111
104
  .B host: A specific host to which to connect. This flag can be
105
+ .
112
106
  specified more than once.
113
-
114
-
115
107
  .TP
116
108
  .B ignoreschedules: Whether the client should ignore schedules when running
109
+ .
117
110
  its configuration. This can be used to force the client
118
111
  to perform work it would not normally perform so soon.
119
112
  The default is false.
120
-
121
-
122
113
  .TP
123
114
  .B parallel: How parallel to make the connections. Parallelization
115
+ .
124
116
  is provided by forking for each client to which to
125
117
  connect. The default is 1, meaning serial execution.
126
-
127
-
128
118
  .TP
129
119
  .B tag: Specify a tag for selecting the objects to apply. Does
120
+ .
130
121
  not work with the \-\-test option.
131
-
132
-
133
122
  .TP
134
123
  .B test: Print the hosts you would connect to but do not
124
+ .
135
125
  actually connect. This option requires LDAP support at
136
126
  this point.
137
-
138
127
  .UNINDENT
128
+ .sp
139
129
  ping:
140
-
141
-
130
+ .sp
142
131
  .nf
143
- Do a ICMP echo against the target host. Skip hosts that don\'t respond to ping.
132
+ .ft C
133
+ Do a ICMP echo against the target host. Skip hosts that don\(aqt respond to ping.
134
+ .ft P
144
135
  .fi
145
-
146
136
  .SH EXAMPLE
147
137
  .INDENT 0.0
148
138
  .INDENT 3.5
139
+ .sp
149
140
  sudo puppetrun \-p 10 \-\-host host1 \-\-host host2 \-t remotefile \-t webserver
150
-
151
141
  .UNINDENT
152
142
  .UNINDENT
153
-
154
143
  .SH AUTHOR
144
+ .sp
155
145
  Luke Kanies
156
-
157
-
158
146
  .SH COPYRIGHT
159
- Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
147
+ .sp
148
+ Copyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public
160
149
  License
161
-
162
-
163
- .\" Generated by docutils manpage writer on 2009-12-30 19:31.
150
+ .\" Generated by docutils manpage writer.
164
151
  .\"
152
+ .
data/man/man8/ralsh.8 CHANGED
@@ -2,127 +2,122 @@
2
2
  .SH NAME
3
3
  \-
4
4
  .\" Man page generated from reStructeredText.
5
+ .
6
+ .sp
5
7
  vim: softtabstop=4 shiftwidth=4 expandtab
6
-
7
-
8
8
  .SH SYNOPSIS
9
+ .sp
9
10
  Use the Puppet RAL to directly interact with the system.
10
-
11
-
12
11
  .SH USAGE
13
12
  .INDENT 0.0
14
13
  .INDENT 3.5
15
14
  .INDENT 0.0
16
-
17
15
  .TP
18
16
  .B ralsh [\-h|\-\-help] [\-d|\-\-debug] [\-v|\-\-verbose] [\-e|\-\-edit] [\-H|\-\-host <host>]
17
+ .
19
18
  [\-p|\-\-param <param>] [\-t|\-\-types] type <name>
20
-
21
19
  .UNINDENT
22
20
  .UNINDENT
23
21
  .UNINDENT
24
-
25
22
  .SH DESCRIPTION
23
+ .sp
26
24
  This command provides simple facilities for converting current system
27
25
  state into Puppet code, along with some ability to use Puppet to affect
28
26
  the current state.
29
-
27
+ .sp
30
28
  By default, you must at least provide a type to list, which case ralsh
31
29
  will tell you everything it knows about all instances of that type. You
32
30
  can optionally specify an instance name, and ralsh will only describe
33
31
  that single instance.
34
-
32
+ .sp
35
33
  You can also add +\-\-edit+ as an argument, and ralsh will write its
36
34
  output to a file, open that file in an editor, and then apply the file
37
35
  as a Puppet transaction. You can easily use this to use Puppet to make
38
36
  simple changes to a system.
39
-
40
-
41
37
  .SH OPTIONS
42
- Note that any configuration parameter that\'s valid in the configuration
43
- file is also a valid long argument. For example, \'ssldir\' is a valid
44
- configuration parameter, so you can specify \'\-\-ssldir <directory>\' as an
38
+ .sp
39
+ Note that any configuration parameter that\(aqs valid in the configuration
40
+ file is also a valid long argument. For example, \(aqssldir\(aq is a valid
41
+ configuration parameter, so you can specify \(aq\-\-ssldir <directory>\(aq as an
45
42
  argument.
46
-
43
+ .sp
47
44
  See the configuration file documentation at
48
- \fI\%http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference\fP for the
45
+ \fI\%http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference\fP for the
49
46
  full list of acceptable parameters. A commented list of all
50
47
  configuration options can also be generated by running puppet with
51
- \'\-\-genconfig\'.
52
-
48
+ \(aq\-\-genconfig\(aq.
49
+ .sp
53
50
  debug: Enable full debugging.
54
-
51
+ .sp
55
52
  edit:
56
-
57
53
  .INDENT 0.0
58
54
  .INDENT 3.5
55
+ .sp
59
56
  Write the results of the query to a file, open the file in an editor,
60
57
  and read the file back in as an executable Puppet manifest.
61
-
62
58
  .UNINDENT
63
59
  .UNINDENT
60
+ .sp
64
61
  host:
65
-
66
62
  .INDENT 0.0
67
63
  .INDENT 3.5
64
+ .sp
68
65
  When specified, connect to the resource server on the named host
69
66
  and retrieve the list of resouces of the type specified.
70
-
71
67
  .UNINDENT
72
68
  .UNINDENT
69
+ .sp
73
70
  help:
74
-
75
71
  .INDENT 0.0
76
72
  .INDENT 3.5
73
+ .sp
77
74
  Print this help message.
78
-
79
75
  .UNINDENT
80
76
  .UNINDENT
77
+ .sp
81
78
  param:
82
-
83
79
  .INDENT 0.0
84
80
  .INDENT 3.5
81
+ .sp
85
82
  Add more parameters to be outputted from queries.
86
-
87
83
  .UNINDENT
88
84
  .UNINDENT
85
+ .sp
89
86
  types:
90
-
91
87
  .INDENT 0.0
92
88
  .INDENT 3.5
89
+ .sp
93
90
  List all available types.
94
-
95
91
  .UNINDENT
96
92
  .UNINDENT
93
+ .sp
97
94
  verbose: Print extra information.
98
-
99
-
100
95
  .SH EXAMPLE
96
+ .sp
101
97
  This example uses \fBralsh\fP to return Puppet configuration for the user
102
98
  \fBluke\fP:
103
-
104
-
99
+ .sp
105
100
  .nf
101
+ .ft C
106
102
  $ ralsh user luke
107
- user { \'luke\':
108
- home => \'/home/luke\',
109
- uid => \'100\',
110
- ensure => \'present\',
111
- comment => \'Luke Kanies,,,\',
112
- gid => \'1000\',
113
- shell => \'/bin/bash\',
114
- groups => [\'sysadmin\',\'audio\',\'video\',\'puppet\']
103
+ user { \(aqluke\(aq:
104
+ home => \(aq/home/luke\(aq,
105
+ uid => \(aq100\(aq,
106
+ ensure => \(aqpresent\(aq,
107
+ comment => \(aqLuke Kanies,,,\(aq,
108
+ gid => \(aq1000\(aq,
109
+ shell => \(aq/bin/bash\(aq,
110
+ groups => [\(aqsysadmin\(aq,\(aqaudio\(aq,\(aqvideo\(aq,\(aqpuppet\(aq]
115
111
  }
112
+ .ft P
116
113
  .fi
117
-
118
114
  .SH AUTHOR
115
+ .sp
119
116
  Luke Kanies
120
-
121
-
122
117
  .SH COPYRIGHT
123
- Copyright (c) 2005\-2007 Reductive Labs, LLC Licensed under the GNU
118
+ .sp
119
+ Copyright (c) 2005\-2007 Puppet Labs, LLC Licensed under the GNU
124
120
  Public License
125
-
126
-
127
- .\" Generated by docutils manpage writer on 2009-12-30 19:24.
121
+ .\" Generated by docutils manpage writer.
128
122
  .\"
123
+ .