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.
- data/CHANGELOG +679 -23
- data/LICENSE +2 -2
- data/README +2 -2
- data/README.queueing +1 -1
- data/README.rst +2 -2
- data/Rakefile +4 -2
- data/bin/filebucket +2 -2
- data/bin/pi +1 -1
- data/bin/puppet +2 -2
- data/bin/puppetca +2 -2
- data/bin/puppetd +5 -4
- data/bin/puppetdoc +4 -4
- data/bin/puppetmasterd +2 -2
- data/bin/puppetqd +2 -2
- data/bin/puppetrun +2 -2
- data/bin/ralsh +2 -2
- data/conf/epm.list +2 -2
- data/conf/gentoo/puppet/puppet.conf +0 -4
- data/conf/osx/PackageInfo.plist +1 -1
- data/conf/redhat/logrotate +1 -0
- data/conf/redhat/puppet.conf +0 -4
- data/conf/redhat/puppet.spec +16 -10
- data/conf/solaris/pkginfo +2 -2
- data/conf/solaris/smf/puppetd.xml +3 -3
- data/conf/solaris/smf/puppetmasterd.xml +3 -3
- data/conf/solaris/smf/svc-puppetd +1 -1
- data/conf/solaris/smf/svc-puppetmasterd +1 -1
- data/conf/suse/puppet.spec +16 -14
- data/conf/suse/puppet.suse.patch +16 -0
- data/examples/etc/puppet/fileserver.conf +5 -5
- data/examples/modules/sample-module/README.txt +3 -3
- data/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +1 -1
- data/ext/extlookup.rb +1 -1
- data/ext/nagios/check_puppet.rb +1 -1
- data/ext/nagios/naggen +2 -2
- data/ext/puppet-test +2 -2
- data/ext/puppetlast +1 -1
- data/ext/puppetstoredconfigclean.rb +1 -1
- data/ext/regexp_nodes/regexp_nodes.rb +4 -4
- data/ext/vim/syntax/puppet.vim +5 -3
- data/install.rb +11 -9
- data/lib/puppet.rb +1 -1
- data/lib/puppet/application/puppetd.rb +5 -4
- data/lib/puppet/configurer.rb +38 -31
- data/lib/puppet/defaults.rb +18 -13
- data/lib/puppet/file_serving/fileset.rb +2 -2
- data/lib/puppet/file_serving/terminus_helper.rb +1 -0
- data/lib/puppet/indirector/indirection.rb +20 -13
- data/lib/puppet/network/authstore.rb +3 -3
- data/lib/puppet/network/format_handler.rb +1 -1
- data/lib/puppet/network/handler/fileserver.rb +2 -2
- data/lib/puppet/network/handler/master.rb +1 -1
- data/lib/puppet/network/http_pool.rb +0 -2
- data/lib/puppet/network/http_server/webrick.rb +1 -1
- data/lib/puppet/parser/ast/casestatement.rb +4 -4
- data/lib/puppet/parser/ast/ifstatement.rb +2 -1
- data/lib/puppet/parser/ast/leaf.rb +1 -0
- data/lib/puppet/parser/ast/selector.rb +2 -3
- data/lib/puppet/parser/functions/generate.rb +3 -5
- data/lib/puppet/parser/functions/require.rb +8 -1
- data/lib/puppet/parser/functions/template.rb +1 -1
- data/lib/puppet/parser/lexer.rb +1 -7
- data/lib/puppet/parser/resource.rb +10 -4
- data/lib/puppet/parser/scope.rb +61 -9
- data/lib/puppet/provider/augeas/augeas.rb +23 -7
- data/lib/puppet/provider/macauthorization/macauthorization.rb +1 -1
- data/lib/puppet/provider/maillist/mailman.rb +2 -2
- data/lib/puppet/provider/package/portage.rb +2 -2
- data/lib/puppet/provider/service/debian.rb +2 -2
- data/lib/puppet/provider/service/redhat.rb +1 -1
- data/lib/puppet/provider/service/smf.rb +4 -1
- data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -29
- data/lib/puppet/provider/user/user_role_add.rb +1 -1
- data/lib/puppet/reference/configuration.rb +1 -1
- data/lib/puppet/reference/providers.rb +1 -1
- data/lib/puppet/reports/tagmail.rb +1 -0
- data/lib/puppet/resource/catalog.rb +1 -8
- data/lib/puppet/simple_graph.rb +37 -12
- data/lib/puppet/ssl/certificate.rb +2 -3
- data/lib/puppet/ssl/certificate_authority.rb +1 -1
- data/lib/puppet/ssl/host.rb +19 -12
- data/lib/puppet/sslcertificates/ca.rb +5 -6
- data/lib/puppet/transaction.rb +11 -15
- data/lib/puppet/type/augeas.rb +2 -1
- data/lib/puppet/type/exec.rb +1 -1
- data/lib/puppet/type/file.rb +9 -2
- data/lib/puppet/type/file/checksum.rb +2 -1
- data/lib/puppet/type/file/source.rb +4 -4
- data/lib/puppet/type/maillist.rb +10 -0
- data/lib/puppet/type/mount.rb +5 -3
- data/lib/puppet/type/tidy.rb +36 -30
- data/lib/puppet/util/autoload.rb +2 -2
- data/lib/puppet/util/checksums.rb +5 -0
- data/lib/puppet/util/monkey_patches.rb +38 -0
- data/lib/puppet/util/nagios_maker.rb +1 -1
- data/lib/puppet/util/settings.rb +14 -4
- data/lib/puppet/util/suidmanager.rb +26 -2
- data/lib/puppet/util/zaml.rb +318 -0
- data/man/{man8/puppet.conf.8 → man5/puppet.conf.5} +594 -899
- data/man/man8/filebucket.8 +31 -45
- data/man/man8/pi.8 +16 -22
- data/man/man8/puppet.8 +26 -36
- data/man/man8/puppetca.8 +38 -51
- data/man/man8/puppetd.8 +48 -64
- data/man/man8/puppetdoc.8 +37 -48
- data/man/man8/puppetmasterd.8 +24 -32
- data/man/man8/puppetqd.8 +22 -27
- data/man/man8/puppetrun.8 +46 -58
- data/man/man8/ralsh.8 +43 -48
- data/spec/integration/bin/puppetmasterd.rb +20 -9
- data/spec/integration/defaults.rb +4 -0
- data/spec/integration/indirector/certificate/rest.rb +0 -1
- data/spec/integration/indirector/certificate_request/rest.rb +0 -1
- data/spec/integration/indirector/certificate_revocation_list/rest.rb +0 -1
- data/spec/integration/indirector/report/rest.rb +0 -1
- data/spec/integration/indirector/rest.rb +0 -1
- data/spec/integration/parser/functions/require.rb +18 -1
- data/spec/unit/application/filebucket.rb +2 -2
- data/spec/unit/application/puppetd.rb +4 -5
- data/spec/unit/configurer.rb +46 -8
- data/spec/unit/file_serving/fileset.rb +6 -0
- data/spec/unit/file_serving/terminus_helper.rb +10 -0
- data/spec/unit/indirector/indirection.rb +17 -28
- data/spec/unit/network/format_handler.rb +3 -2
- data/spec/unit/network/http_pool.rb +9 -17
- data/spec/unit/parser/ast/casestatement.rb +4 -12
- data/spec/unit/parser/ast/ifstatement.rb +2 -1
- data/spec/unit/parser/ast/leaf.rb +15 -2
- data/spec/unit/parser/ast/selector.rb +4 -12
- data/spec/unit/parser/functions/generate.rb +41 -0
- data/spec/unit/parser/functions/require.rb +23 -2
- data/spec/unit/parser/resource.rb +18 -0
- data/spec/unit/parser/scope.rb +94 -3
- data/spec/unit/provider/augeas/augeas.rb +27 -3
- data/spec/unit/provider/ssh_authorized_key/parsed.rb +30 -19
- data/spec/unit/resource/catalog.rb +16 -39
- data/spec/unit/simple_graph.rb +14 -0
- data/spec/unit/ssl/host.rb +55 -17
- data/spec/unit/type/file.rb +43 -11
- data/spec/unit/type/file/checksum.rb +28 -0
- data/spec/unit/type/tidy.rb +30 -1
- data/spec/unit/util/autoload.rb +2 -1
- data/spec/unit/util/checksums.rb +7 -1
- data/spec/unit/util/settings.rb +39 -2
- data/spec/unit/util/zaml.rb +38 -0
- data/tasks/rake/changelog.rake +1 -1
- data/tasks/rake/gem.rake +3 -3
- data/tasks/rake/git_workflow.rake +1 -1
- data/tasks/rake/sign.rake +1 -1
- data/tasks/rake/yard.rake +11 -0
- data/test/certmgr/certmgr.rb +1 -1
- data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +1 -1
- data/test/lib/puppettest/support/utils.rb +2 -1
- data/test/network/handler/ca.rb +4 -4
- data/test/network/handler/fileserver.rb +15 -9
- data/test/other/transactions.rb +1 -6
- data/test/puppet/tc_suidmanager.rb +7 -2
- data/test/ral/providers/host/parsed.rb +6 -6
- data/test/ral/providers/package.rb +4 -0
- data/test/ral/providers/sshkey/parsed.rb +5 -5
- data/test/ral/type/file.rb +0 -21
- data/test/ral/type/host.rb +4 -4
- data/test/ral/type/resources.rb +0 -78
- data/test/ral/type/sshkey.rb +2 -2
- data/test/test +1 -1
- data/test/util/settings.rb +6 -6
- metadata +1065 -1050
- data/test/executables/puppetmodule.rb +0 -55
- data/test/ral/providers/service/debian.rb +0 -58
data/man/man8/puppetqd.8
CHANGED
@@ -1,60 +1,55 @@
|
|
1
|
-
.TH
|
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
|
-
|
23
|
-
|
24
|
-
|
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://
|
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
|
-
\
|
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
|
-
|
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+\
|
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 \
|
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 \
|
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 \
|
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
|
-
|
74
|
-
|
75
|
-
|
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://
|
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 \
|
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
|
-
|
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
|
-
|
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
|
-
|
43
|
-
|
44
|
-
|
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://
|
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
|
-
\
|
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 { \
|
108
|
-
home => \
|
109
|
-
uid => \
|
110
|
-
ensure => \
|
111
|
-
comment => \
|
112
|
-
gid => \
|
113
|
-
shell => \
|
114
|
-
groups => [\
|
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
|
-
|
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
|
+
.
|