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.
- data/CHANGELOG +123 -0
- data/conf/redhat/puppet.spec +8 -2
- data/conf/solaris/smf/svc-puppetd +1 -1
- data/conf/solaris/smf/svc-puppetmasterd +1 -1
- data/conf/suse/client.init +4 -4
- data/conf/suse/fileserver.conf +12 -0
- data/conf/suse/logrotate +10 -0
- data/conf/suse/puppet.conf +25 -0
- data/conf/suse/puppet.spec +114 -49
- data/conf/suse/ruby-env.patch +17 -0
- data/conf/suse/server.init +4 -4
- data/ext/logcheck/puppet +23 -23
- data/ext/puppet-load.rb +357 -0
- data/ext/puppetstoredconfigclean.rb +3 -3
- data/ext/rack/files/config.ru +3 -5
- data/ext/vim/syntax/puppet.vim +6 -5
- data/install.rb +12 -11
- data/lib/puppet.rb +1 -1
- data/lib/puppet/agent.rb +3 -1
- data/lib/puppet/application.rb +2 -3
- data/lib/puppet/application/agent.rb +4 -0
- data/lib/puppet/application/apply.rb +14 -6
- data/lib/puppet/application/describe.rb +1 -1
- data/lib/puppet/application/doc.rb +2 -36
- data/lib/puppet/application/master.rb +0 -3
- data/lib/puppet/application/queue.rb +1 -0
- data/lib/puppet/configurer.rb +4 -0
- data/lib/puppet/daemon.rb +1 -1
- data/lib/puppet/defaults.rb +38 -44
- data/lib/puppet/file_serving/indirection_hooks.rb +2 -2
- data/lib/puppet/indirector/facts/memory.rb +1 -1
- data/lib/puppet/indirector/node/exec.rb +1 -1
- data/lib/puppet/indirector/node/ldap.rb +9 -53
- data/lib/puppet/indirector/node/memory.rb +1 -1
- data/lib/puppet/indirector/yaml.rb +6 -9
- data/lib/puppet/network/format_handler.rb +6 -0
- data/lib/puppet/network/formats.rb +4 -4
- data/lib/puppet/network/http/handler.rb +1 -1
- data/lib/puppet/network/http/rack.rb +3 -0
- data/lib/puppet/network/http/rack/rest.rb +1 -1
- data/lib/puppet/network/rest_authconfig.rb +6 -3
- data/lib/puppet/node/environment.rb +15 -5
- data/lib/puppet/parameter/value_collection.rb +3 -3
- data/lib/puppet/parser/ast/function.rb +0 -1
- data/lib/puppet/parser/ast/leaf.rb +1 -1
- data/lib/puppet/parser/ast/resource.rb +4 -3
- data/lib/puppet/parser/ast/resource_reference.rb +9 -2
- data/lib/puppet/parser/compiler.rb +12 -14
- data/lib/puppet/parser/files.rb +1 -1
- data/lib/puppet/parser/functions.rb +2 -2
- data/lib/puppet/parser/functions/defined.rb +1 -1
- data/lib/puppet/parser/functions/extlookup.rb +157 -0
- data/lib/puppet/parser/functions/file.rb +1 -1
- data/lib/puppet/parser/functions/inline_template.rb +6 -5
- data/lib/puppet/parser/functions/md5.rb +5 -0
- data/lib/puppet/parser/functions/realize.rb +1 -1
- data/lib/puppet/parser/functions/regsubst.rb +19 -19
- data/lib/puppet/parser/functions/require.rb +2 -3
- data/lib/puppet/parser/functions/split.rb +1 -1
- data/lib/puppet/parser/functions/sprintf.rb +1 -1
- data/lib/puppet/parser/functions/template.rb +4 -2
- data/lib/puppet/parser/functions/versioncmp.rb +12 -12
- data/lib/puppet/parser/lexer.rb +13 -14
- data/lib/puppet/parser/resource.rb +2 -7
- data/lib/puppet/parser/resource/param.rb +1 -1
- data/lib/puppet/parser/scope.rb +35 -0
- data/lib/puppet/parser/type_loader.rb +1 -1
- data/lib/puppet/property.rb +5 -5
- data/lib/puppet/provider.rb +3 -3
- data/lib/puppet/provider/group/groupadd.rb +1 -1
- data/lib/puppet/provider/group/ldap.rb +3 -3
- data/lib/puppet/provider/group/pw.rb +1 -1
- data/lib/puppet/provider/package/apple.rb +1 -1
- data/lib/puppet/provider/package/apt.rb +5 -1
- data/lib/puppet/provider/package/aptitude.rb +1 -1
- data/lib/puppet/provider/package/aptrpm.rb +1 -1
- data/lib/puppet/provider/package/blastwave.rb +1 -1
- data/lib/puppet/provider/package/dpkg.rb +2 -2
- data/lib/puppet/provider/package/fink.rb +1 -1
- data/lib/puppet/provider/package/gem.rb +1 -1
- data/lib/puppet/provider/package/openbsd.rb +1 -1
- data/lib/puppet/provider/package/rpm.rb +1 -1
- data/lib/puppet/provider/package/rug.rb +1 -1
- data/lib/puppet/provider/package/sunfreeware.rb +2 -2
- data/lib/puppet/provider/package/up2date.rb +1 -1
- data/lib/puppet/provider/package/urpmi.rb +1 -1
- data/lib/puppet/provider/package/yum.rb +1 -1
- data/lib/puppet/provider/package/zypper.rb +1 -1
- data/lib/puppet/provider/service/base.rb +1 -1
- data/lib/puppet/provider/service/bsd.rb +2 -2
- data/lib/puppet/provider/service/debian.rb +2 -2
- data/lib/puppet/provider/service/gentoo.rb +2 -2
- data/lib/puppet/provider/service/init.rb +2 -2
- data/lib/puppet/provider/service/redhat.rb +2 -2
- data/lib/puppet/provider/user/ldap.rb +3 -3
- data/lib/puppet/provider/user/pw.rb +1 -1
- data/lib/puppet/provider/user/user_role_add.rb +1 -1
- data/lib/puppet/provider/user/useradd.rb +1 -1
- data/lib/puppet/rails/host.rb +1 -0
- data/lib/puppet/reference/configuration.rb +37 -34
- data/lib/puppet/reference/indirection.rb +3 -4
- data/lib/puppet/reference/metaparameter.rb +0 -8
- data/lib/puppet/reference/network.rb +6 -4
- data/lib/puppet/reference/providers.rb +4 -4
- data/lib/puppet/reference/report.rb +5 -6
- data/lib/puppet/reference/type.rb +14 -14
- data/lib/puppet/reports/http.rb +1 -1
- data/lib/puppet/reports/rrdgraph.rb +8 -9
- data/lib/puppet/reports/store.rb +2 -2
- data/lib/puppet/reports/tagmail.rb +12 -13
- data/lib/puppet/resource.rb +15 -115
- data/lib/puppet/resource/catalog.rb +1 -1
- data/lib/puppet/resource/type.rb +26 -3
- data/lib/puppet/resource/type_collection.rb +3 -6
- data/lib/puppet/simple_graph.rb +4 -5
- data/lib/puppet/transaction/resource_harness.rb +1 -1
- data/lib/puppet/type.rb +100 -92
- data/lib/puppet/type/augeas.rb +44 -45
- data/lib/puppet/type/computer.rb +2 -2
- data/lib/puppet/type/cron.rb +29 -29
- data/lib/puppet/type/exec.rb +66 -67
- data/lib/puppet/type/file.rb +25 -25
- data/lib/puppet/type/file/content.rb +7 -1
- data/lib/puppet/type/file/ensure.rb +13 -13
- data/lib/puppet/type/file/mode.rb +6 -6
- data/lib/puppet/type/file/selcontext.rb +5 -5
- data/lib/puppet/type/file/source.rb +36 -26
- data/lib/puppet/type/filebucket.rb +5 -6
- data/lib/puppet/type/group.rb +1 -2
- data/lib/puppet/type/host.rb +3 -6
- data/lib/puppet/type/k5login.rb +3 -3
- data/lib/puppet/type/macauthorization.rb +1 -2
- data/lib/puppet/type/mailalias.rb +0 -1
- data/lib/puppet/type/maillist.rb +0 -1
- data/lib/puppet/type/mcx.rb +9 -9
- data/lib/puppet/type/mount.rb +9 -10
- data/lib/puppet/type/notify.rb +0 -1
- data/lib/puppet/type/package.rb +34 -36
- data/lib/puppet/type/resources.rb +1 -5
- data/lib/puppet/type/schedule.rb +9 -12
- data/lib/puppet/type/selboolean.rb +2 -7
- data/lib/puppet/type/selmodule.rb +3 -4
- data/lib/puppet/type/service.rb +9 -9
- data/lib/puppet/type/ssh_authorized_key.rb +2 -3
- data/lib/puppet/type/sshkey.rb +4 -7
- data/lib/puppet/type/stage.rb +5 -4
- data/lib/puppet/type/tidy.rb +3 -3
- data/lib/puppet/type/user.rb +1 -2
- data/lib/puppet/type/whit.rb +7 -0
- data/lib/puppet/type/yumrepo.rb +16 -3
- data/lib/puppet/type/zfs.rb +1 -2
- data/lib/puppet/type/zone.rb +28 -28
- data/lib/puppet/type/zpool.rb +10 -5
- data/lib/puppet/util/autoload.rb +17 -5
- data/lib/puppet/util/cacher.rb +15 -10
- data/lib/puppet/util/command_line/puppetdoc +5 -5
- data/lib/puppet/util/command_line/puppetrun +0 -2
- data/lib/puppet/util/command_line/ralsh +13 -13
- data/lib/puppet/util/docs.rb +5 -12
- data/lib/puppet/util/monkey_patches.rb +5 -2
- data/lib/puppet/util/nagios_maker.rb +4 -5
- data/lib/puppet/util/provider_features.rb +2 -2
- data/lib/puppet/util/rdoc.rb +1 -1
- data/lib/puppet/util/rdoc/parser.rb +5 -3
- data/lib/puppet/util/reference.rb +3 -52
- data/man/man5/puppet.conf.5 +2072 -1526
- data/man/man8/filebucket.8 +104 -106
- data/man/man8/pi.8 +14 -47
- data/man/man8/puppet.8 +8 -9
- data/man/man8/puppetca.8 +168 -129
- data/man/man8/puppetd.8 +282 -226
- data/man/man8/puppetdoc.8 +103 -103
- data/man/man8/puppetmasterd.8 +51 -71
- data/man/man8/puppetqd.8 +18 -53
- data/man/man8/puppetrun.8 +163 -143
- data/man/man8/ralsh.8 +77 -114
- data/spec/integration/indirector/bucket_file/rest_spec.rb +1 -0
- data/spec/integration/indirector/certificate/rest_spec.rb +1 -0
- data/spec/integration/indirector/certificate_request/rest_spec.rb +1 -0
- data/spec/integration/indirector/certificate_revocation_list/rest_spec.rb +1 -0
- data/spec/integration/indirector/report/rest_spec.rb +1 -0
- data/spec/integration/indirector/rest_spec.rb +1 -0
- data/spec/integration/network/server/webrick_spec.rb +1 -0
- data/spec/integration/parser/compiler_spec.rb +43 -0
- data/spec/integration/provider/mailalias/aliases_spec.rb +5 -5
- data/spec/integration/ssl/certificate_authority_spec.rb +1 -0
- data/spec/integration/ssl/certificate_request_spec.rb +1 -0
- data/spec/integration/ssl/certificate_revocation_list_spec.rb +1 -0
- data/spec/integration/ssl/host_spec.rb +1 -0
- data/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb +0 -1
- data/spec/monkey_patches/publicize_methods.rb +11 -0
- data/spec/shared_behaviours/file_serving.rb +12 -1
- data/spec/spec_helper.rb +6 -25
- data/spec/unit/application/apply_spec.rb +22 -4
- data/spec/unit/application/cert_spec.rb +1 -1
- data/spec/unit/application/doc_spec.rb +0 -19
- data/spec/unit/application/master_spec.rb +1 -1
- data/spec/unit/application_spec.rb +2 -12
- data/spec/unit/indirector/node/ldap_spec.rb +19 -21
- data/spec/unit/indirector/yaml_spec.rb +18 -6
- data/spec/unit/network/http/rack/rest_spec.rb +3 -3
- data/spec/unit/network/http/webrick/rest_spec.rb +1 -0
- data/spec/unit/node/environment_spec.rb +32 -3
- data/spec/unit/node/facts_spec.rb +13 -2
- data/spec/unit/parameter/value_collection_spec.rb +2 -2
- data/spec/unit/parser/ast/leaf_spec.rb +4 -0
- data/spec/unit/parser/ast/resource_reference_spec.rb +0 -5
- data/spec/unit/parser/ast/resource_spec.rb +7 -0
- data/spec/unit/parser/compiler_spec.rb +12 -1
- data/spec/unit/parser/files_spec.rb +3 -3
- data/spec/unit/parser/functions/extlookup_spec.rb +95 -0
- data/spec/unit/parser/functions/include_spec.rb +33 -0
- data/spec/unit/parser/functions/require_spec.rb +1 -1
- data/spec/unit/parser/functions/tag_spec.rb +1 -0
- data/spec/unit/parser/lexer_spec.rb +10 -1
- data/spec/unit/parser/resource_spec.rb +3 -9
- data/spec/unit/parser/type_loader_spec.rb +1 -1
- data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +4 -2
- data/spec/unit/rails/resource_spec.rb +1 -1
- data/spec/unit/reports/tagmail_spec.rb +2 -2
- data/spec/unit/resource/catalog_spec.rb +1 -1
- data/spec/unit/resource/type_collection_spec.rb +35 -0
- data/spec/unit/resource/type_spec.rb +19 -1
- data/spec/unit/resource_spec.rb +0 -36
- data/spec/unit/simple_graph_spec.rb +12 -2
- data/spec/unit/transaction/resource_harness_spec.rb +1 -1
- data/spec/unit/type/file/content_spec.rb +2 -1
- data/spec/unit/type/schedule_spec.rb +1 -1
- data/spec/unit/type/service_spec.rb +8 -0
- data/spec/unit/type/user_spec.rb +5 -0
- data/spec/unit/util/backups_spec.rb +0 -1
- data/spec/unit/util/rdoc/parser_spec.rb +3 -3
- data/spec/unit/util/rdoc_spec.rb +13 -0
- data/test/certmgr/support.rb +2 -1
- data/test/language/parser.rb +6 -6
- data/test/lib/puppettest.rb +3 -23
- data/test/lib/puppettest/fakes.rb +1 -1
- data/test/lib/puppettest/support/assertions.rb +0 -2
- data/test/lib/puppettest/support/utils.rb +25 -20
- data/test/ral/manager/attributes.rb +4 -1
- metadata +15 -9
- data/conf/suse/puppet.suse.patch +0 -16
- data/ext/extlookup.rb +0 -181
- data/ext/puppetlast +0 -16
- data/tasks/rake/tracdocs.rake +0 -8
- data/test/lib/mocha_standalone.rb +0 -2
data/man/man8/filebucket.8
CHANGED
@@ -1,107 +1,105 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
\-
|
4
|
-
.\" Man page generated from reStructeredText.
|
5
|
-
.
|
6
|
-
.SH SYNOPSIS
|
7
|
-
.sp
|
8
|
-
A stand\-alone Puppet filebucket client.
|
9
|
-
.SH USAGE
|
10
|
-
.INDENT 0.0
|
11
|
-
.INDENT 3.5
|
12
|
-
.INDENT 0.0
|
13
|
-
.TP
|
14
|
-
.B puppet filebucket [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose]
|
15
|
-
.
|
16
|
-
[\-l|\-\-local] [\-r|\-\-remote]
|
17
|
-
[\-s|\-\-server <server>] [\-b|\-\-bucket <directory>] <file> <file> ...
|
18
|
-
.UNINDENT
|
19
|
-
.UNINDENT
|
20
|
-
.UNINDENT
|
21
|
-
.SH DESCRIPTION
|
22
|
-
.sp
|
23
|
-
This is a stand\-alone filebucket client for sending files to a local or
|
24
|
-
central filebucket.
|
25
|
-
.SH USAGE
|
26
|
-
.sp
|
27
|
-
This client can operate in three modes, with only one mode per call:
|
28
|
-
.INDENT 0.0
|
29
|
-
.TP
|
30
|
-
.B backup: Send one or more files to the specified file bucket. Each sent
|
31
|
-
.
|
32
|
-
file is printed with its resulting md5 sum.
|
33
|
-
.TP
|
34
|
-
.B get: Return the text associated with an md5 sum. The text is printed
|
35
|
-
.
|
36
|
-
to stdout, and only one file can be retrieved at a time.
|
37
|
-
.TP
|
38
|
-
.B restore: Given a file path and an md5 sum, store the content associated
|
39
|
-
.
|
40
|
-
with the sum into the specified file path. You can specify an
|
41
|
-
entirely new path to this argument; you are not restricted to
|
42
|
-
restoring the content to its original location.
|
43
|
-
.UNINDENT
|
44
|
-
.sp
|
45
|
-
Note that +filebucket+ defaults to using a network\-based filebucket
|
46
|
-
available on the server named +puppet+. To use this, you\(aqll have to be
|
47
|
-
running as a user with valid Puppet certificates. Alternatively, you can
|
48
|
-
use your local file bucket by specifying +\-\-local+.
|
49
|
-
.SH EXAMPLE
|
50
|
-
.INDENT 0.0
|
51
|
-
.INDENT 3.5
|
52
|
-
.sp
|
53
|
-
$ puppet filebucket backup /etc/passwd
|
54
|
-
/etc/passwd: 429b225650b912a2ee067b0a4cf1e949
|
55
|
-
$ puppet filebucket restore /tmp/passwd 429b225650b912a2ee067b0a4cf1e949
|
56
|
-
$
|
57
|
-
.UNINDENT
|
58
|
-
.UNINDENT
|
59
|
-
.SH OPTIONS
|
60
|
-
.sp
|
61
|
-
Note that any configuration parameter that\(aqs valid in the configuration
|
62
|
-
file is also a valid long argument. For example, \(aqssldir\(aq is a valid
|
63
|
-
configuration parameter, so you can specify \(aq\-\-ssldir <directory>\(aq as an
|
64
|
-
argument.
|
65
|
-
.sp
|
66
|
-
See the configuration file documentation at
|
67
|
-
\fI\%http://docs.puppetlabs.com/references/stable/configuration.html\fP for the
|
68
|
-
full list of acceptable parameters. A commented list of all
|
69
|
-
configuration options can also be generated by running puppet with
|
70
|
-
\(aq\-\-genconfig\(aq.
|
71
|
-
.sp
|
72
|
-
debug: Enable full debugging.
|
73
|
-
.sp
|
74
|
-
help: Print this help message
|
75
|
-
.INDENT 0.0
|
76
|
-
.TP
|
77
|
-
.B local: Use the local filebucket. This will use the default
|
78
|
-
.
|
79
|
-
configuration information.
|
80
|
-
.TP
|
81
|
-
.B remote: Use a remote filebucket. This will use the default
|
82
|
-
.
|
83
|
-
configuration information.
|
84
|
-
.UNINDENT
|
85
|
-
.sp
|
86
|
-
server: The server to send the file to, instead of locally.
|
87
|
-
.sp
|
88
|
-
verbose: Print extra information.
|
89
|
-
.sp
|
90
|
-
version: Print version information.
|
91
|
-
.SH EXAMPLE
|
92
|
-
.INDENT 0.0
|
93
|
-
.INDENT 3.5
|
94
|
-
.sp
|
95
|
-
puppet filebucket \-b /tmp/filebucket /my/file
|
96
|
-
.UNINDENT
|
97
|
-
.UNINDENT
|
98
|
-
.SH AUTHOR
|
99
|
-
.sp
|
100
|
-
Luke Kanies
|
101
|
-
.SH COPYRIGHT
|
102
|
-
.sp
|
103
|
-
Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
|
104
|
-
License
|
105
|
-
.\" Generated by docutils manpage writer.
|
106
|
-
.\"
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
107
3
|
.
|
4
|
+
.TH "FILEBUCKET" "8" "August 2010" "" ""
|
5
|
+
A stand\-alone Puppet filebucket client\.puppet filebucket [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose]
|
6
|
+
.
|
7
|
+
.IP "" 4
|
8
|
+
.
|
9
|
+
.nf
|
10
|
+
|
11
|
+
[\-l|\-\-local] [\-r|\-\-remote]
|
12
|
+
[\-s|\-\-server <server>] [\-b|\-\-bucket <directory>] <file> <file> \.\.\.
|
13
|
+
.
|
14
|
+
.fi
|
15
|
+
.
|
16
|
+
.IP "" 0
|
17
|
+
This is a stand\-alone filebucket client for sending files to a local or central filebucket\.This client can operate in three modes, with only one mode per call:
|
18
|
+
.
|
19
|
+
.P
|
20
|
+
backup: Send one or more files to the specified file bucket\. Each sent
|
21
|
+
.
|
22
|
+
.IP "" 4
|
23
|
+
.
|
24
|
+
.nf
|
25
|
+
|
26
|
+
file is printed with its resulting md5 sum\.
|
27
|
+
.
|
28
|
+
.fi
|
29
|
+
.
|
30
|
+
.IP "" 0
|
31
|
+
.
|
32
|
+
.P
|
33
|
+
get: Return the text associated with an md5 sum\. The text is printed
|
34
|
+
.
|
35
|
+
.IP "" 4
|
36
|
+
.
|
37
|
+
.nf
|
38
|
+
|
39
|
+
to stdout, and only one file can be retrieved at a time\.
|
40
|
+
.
|
41
|
+
.fi
|
42
|
+
.
|
43
|
+
.IP "" 0
|
44
|
+
.
|
45
|
+
.P
|
46
|
+
restore: Given a file path and an md5 sum, store the content associated
|
47
|
+
.
|
48
|
+
.IP "" 4
|
49
|
+
.
|
50
|
+
.nf
|
51
|
+
|
52
|
+
with the sum into the specified file path\. You can specify an
|
53
|
+
entirely new path to this argument; you are not restricted to
|
54
|
+
restoring the content to its original location\.
|
55
|
+
.
|
56
|
+
.fi
|
57
|
+
.
|
58
|
+
.IP "" 0
|
59
|
+
.
|
60
|
+
.P
|
61
|
+
Note that +filebucket+ defaults to using a network\-based filebucket available on the server named +puppet+\. To use this, you\'ll have to be running as a user with valid Puppet certificates\. Alternatively, you can use your local file bucket by specifying +\-\-local+\.$ puppet filebucket backup /etc/passwd /etc/passwd: 429b225650b912a2ee067b0a4cf1e949 $ puppet filebucket restore /tmp/passwd 429b225650b912a2ee067b0a4cf1e949 $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\.
|
62
|
+
.
|
63
|
+
.P
|
64
|
+
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 puppet with \'\-\-genconfig\'\.
|
65
|
+
.
|
66
|
+
.P
|
67
|
+
debug: Enable full debugging\.
|
68
|
+
.
|
69
|
+
.P
|
70
|
+
help: Print this help message
|
71
|
+
.
|
72
|
+
.P
|
73
|
+
local: Use the local filebucket\. This will use the default
|
74
|
+
.
|
75
|
+
.IP "" 4
|
76
|
+
.
|
77
|
+
.nf
|
78
|
+
|
79
|
+
configuration information\.
|
80
|
+
.
|
81
|
+
.fi
|
82
|
+
.
|
83
|
+
.IP "" 0
|
84
|
+
.
|
85
|
+
.P
|
86
|
+
remote: Use a remote filebucket\. This will use the default
|
87
|
+
.
|
88
|
+
.IP "" 4
|
89
|
+
.
|
90
|
+
.nf
|
91
|
+
|
92
|
+
configuration information\.
|
93
|
+
.
|
94
|
+
.fi
|
95
|
+
.
|
96
|
+
.IP "" 0
|
97
|
+
.
|
98
|
+
.P
|
99
|
+
server: The server to send the file to, instead of locally\.
|
100
|
+
.
|
101
|
+
.P
|
102
|
+
verbose: Print extra information\.
|
103
|
+
.
|
104
|
+
.P
|
105
|
+
version: Print version information\.puppet filebucket \-b /tmp/filebucket /my/fileLuke KaniesCopyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public License
|
data/man/man8/pi.8
CHANGED
@@ -1,50 +1,17 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
\-
|
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
|
-
.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
.SH USAGE
|
11
|
-
.INDENT 0.0
|
12
|
-
.INDENT 3.5
|
13
|
-
.sp
|
14
|
-
puppet describe [\-h|\-\-help] [\-s|\-\-short] [\-p|\-\-providers] [\-l|\-\-list] [\-m|\-\-meta]
|
15
|
-
.UNINDENT
|
16
|
-
.UNINDENT
|
17
|
-
.SH DESCRIPTION
|
18
|
-
.sp
|
19
|
-
Prints details of Puppet types, providers and metaparameters on the
|
20
|
-
console.
|
21
|
-
.SH OPTIONS
|
22
|
-
.sp
|
23
|
-
help: Print this help text
|
24
|
-
.sp
|
4
|
+
.TH "PI" "8" "August 2010" "" ""
|
5
|
+
Print help about puppet types on the console\. Run with \'\-h\' to get detailed help\.puppet describe [\-h|\-\-help] [\-s|\-\-short] [\-p|\-\-providers] [\-l|\-\-list] [\-m|\-\-meta]Prints details of Puppet types, providers and metaparameters on the console\.help: Print this help text
|
6
|
+
.
|
7
|
+
.P
|
25
8
|
providers: Describe providers in detail for each type
|
26
|
-
.sp
|
27
|
-
list: List all types
|
28
|
-
.sp
|
29
|
-
meta: List all metaparameters
|
30
|
-
.sp
|
31
|
-
short: List only parameters without detail
|
32
|
-
.SH EXAMPLE
|
33
|
-
.INDENT 0.0
|
34
|
-
.INDENT 3.5
|
35
|
-
.sp
|
36
|
-
puppet describe \-\-list
|
37
|
-
puppet describe file \-\-providers
|
38
|
-
puppet describe user \-s \-m
|
39
|
-
.UNINDENT
|
40
|
-
.UNINDENT
|
41
|
-
.SH AUTHOR
|
42
|
-
.sp
|
43
|
-
David Lutterkort
|
44
|
-
.SH COPYRIGHT
|
45
|
-
.sp
|
46
|
-
Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
|
47
|
-
License
|
48
|
-
.\" Generated by docutils manpage writer.
|
49
|
-
.\"
|
50
9
|
.
|
10
|
+
.P
|
11
|
+
list: List all types
|
12
|
+
.
|
13
|
+
.P
|
14
|
+
meta: List all metaparameters
|
15
|
+
.
|
16
|
+
.P
|
17
|
+
short: List only parameters without detailpuppet describe \-\-list puppet describe file \-\-providers puppet describe user \-s \-mDavid LutterkortCopyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public License
|
data/man/man8/puppet.8
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
\-
|
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
|
-
.
|
7
|
-
Usage: puppet command <space separated arguments>
|
8
|
-
Available commands are: agent, apply, cert, describe, doc, filebucket, kick, master, pi, puppet, puppetca, puppetd, puppetdoc, puppetmasterd, puppetqd, puppetrun, queue, ralsh, resource
|
9
|
-
.\" Generated by docutils manpage writer.
|
10
|
-
.\"
|
4
|
+
.TH "PUPPET" "8" "August 2010" "" ""
|
11
5
|
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBpuppet\fR
|
8
|
+
.
|
9
|
+
.P
|
10
|
+
Usage: puppet command \fIspace separated arguments\fR Available commands are: agent, apply, cert, describe, doc, filebucket, kick, master, queue, resource
|
data/man/man8/puppetca.8
CHANGED
@@ -1,130 +1,169 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
\-
|
4
|
-
.\" Man page generated from reStructeredText.
|
5
|
-
.
|
6
|
-
.SH SYNOPSIS
|
7
|
-
.sp
|
8
|
-
Stand\-alone certificate authority. Capable of generating certificates
|
9
|
-
but mostly meant for signing certificate requests from puppet clients.
|
10
|
-
.SH USAGE
|
11
|
-
.INDENT 0.0
|
12
|
-
.INDENT 3.5
|
13
|
-
.INDENT 0.0
|
14
|
-
.TP
|
15
|
-
.B puppet cert [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose]
|
16
|
-
.
|
17
|
-
[\-g|\-\-generate] [\-l|\-\-list] [\-s|\-\-sign] [\-r|\-\-revoke]
|
18
|
-
[\-p|\-\-print] [\-c|\-\-clean] [\-\-verify] [\-\-digest DIGEST]
|
19
|
-
[\-\-fingerprint] [host]
|
20
|
-
.UNINDENT
|
21
|
-
.UNINDENT
|
22
|
-
.UNINDENT
|
23
|
-
.SH DESCRIPTION
|
24
|
-
.sp
|
25
|
-
Because the puppetmasterd daemon defaults to not signing client
|
26
|
-
certificate requests, this script is available for signing outstanding
|
27
|
-
requests. It can be used to list outstanding requests and then either
|
28
|
-
sign them individually or sign all of them.
|
29
|
-
.SH OPTIONS
|
30
|
-
.sp
|
31
|
-
Note that any configuration parameter that\(aqs valid in the configuration
|
32
|
-
file is also a valid long argument. For example, \(aqssldir\(aq is a valid
|
33
|
-
configuration parameter, so you can specify \(aq\-\-ssldir <directory>\(aq as an
|
34
|
-
argument.
|
35
|
-
.sp
|
36
|
-
See the configuration file documentation at
|
37
|
-
\fI\%http://reductivelabs.com/projects/puppet/reference/configref.html\fP for
|
38
|
-
the full list of acceptable parameters. A commented list of all
|
39
|
-
configuration options can also be generated by running puppet cert with
|
40
|
-
\(aq\-\-genconfig\(aq.
|
41
|
-
.INDENT 0.0
|
42
|
-
.TP
|
43
|
-
.B all: Operate on all items. Currently only makes sense with
|
44
|
-
.
|
45
|
-
\(aq\-\-sign\(aq, \(aq\-\-clean\(aq, or \(aq\-\-list\(aq.
|
46
|
-
.TP
|
47
|
-
.B digest: Set the digest for fingerprinting (defaults to md5). Valid
|
48
|
-
.
|
49
|
-
values depends on your openssl and openssl ruby extension
|
50
|
-
version, but should contain at least md5, sha1, md2,
|
51
|
-
sha256.
|
52
|
-
.TP
|
53
|
-
.B clean: Remove all files related to a host from puppet cert\(aqs
|
54
|
-
.
|
55
|
-
storage. This is useful when rebuilding hosts, since new
|
56
|
-
certificate signing requests will only be honored if puppet
|
57
|
-
cert does not have a copy of a signed certificate for that
|
58
|
-
host. The certificate of the host remains valid. If \(aq\-\-all\(aq
|
59
|
-
is specified then all host certificates, both signed and
|
60
|
-
unsigned, will be removed.
|
61
|
-
.UNINDENT
|
62
|
-
.sp
|
63
|
-
debug: Enable full debugging.
|
64
|
-
.INDENT 0.0
|
65
|
-
.TP
|
66
|
-
.B generate: Generate a certificate for a named client. A
|
67
|
-
.
|
68
|
-
certificate/keypair will be generated for each client named
|
69
|
-
on the command line.
|
70
|
-
.UNINDENT
|
71
|
-
.sp
|
72
|
-
help: Print this help message
|
73
|
-
.INDENT 0.0
|
74
|
-
.TP
|
75
|
-
.B list: List outstanding certificate requests. If \(aq\-\-all\(aq is
|
76
|
-
.
|
77
|
-
specified, signed certificates are also listed, prefixed by
|
78
|
-
\(aq+\(aq, and revoked or invalid certificates are prefixed by
|
79
|
-
\(aq\-\(aq (the verification outcome is printed in parenthesis).
|
80
|
-
.UNINDENT
|
81
|
-
.sp
|
82
|
-
print: Print the full\-text version of a host\(aqs certificate.
|
83
|
-
.INDENT 0.0
|
84
|
-
.TP
|
85
|
-
.B fingerprint: Print the DIGEST (defaults to md5) fingerprint of a host\(aqs
|
86
|
-
.
|
87
|
-
certificate.
|
88
|
-
.TP
|
89
|
-
.B revoke: Revoke the certificate of a client. The certificate can be
|
90
|
-
.
|
91
|
-
specified either by its serial number, given as a decimal
|
92
|
-
number or a hexadecimal number prefixed by \(aq0x\(aq, or by its
|
93
|
-
hostname. The certificate is revoked by adding it to the
|
94
|
-
Certificate Revocation List given by the \(aqcacrl\(aq config
|
95
|
-
parameter. Note that the puppetmasterd needs to be
|
96
|
-
restarted after revoking certificates.
|
97
|
-
.TP
|
98
|
-
.B sign: Sign an outstanding certificate request. Unless \(aq\-\-all\(aq is
|
99
|
-
.
|
100
|
-
specified, hosts must be listed after all flags.
|
101
|
-
.UNINDENT
|
102
|
-
.sp
|
103
|
-
verbose: Enable verbosity.
|
104
|
-
.sp
|
105
|
-
version: Print the puppet version number and exit.
|
106
|
-
.INDENT 0.0
|
107
|
-
.TP
|
108
|
-
.B verify: Verify the named certificate against the local CA
|
109
|
-
.
|
110
|
-
certificate.
|
111
|
-
.UNINDENT
|
112
|
-
.SH EXAMPLE
|
113
|
-
.INDENT 0.0
|
114
|
-
.INDENT 3.5
|
115
|
-
.sp
|
116
|
-
$ puppet cert \-l
|
117
|
-
culain.madstop.com
|
118
|
-
$ puppet cert \-s culain.madstop.com
|
119
|
-
.UNINDENT
|
120
|
-
.UNINDENT
|
121
|
-
.SH AUTHOR
|
122
|
-
.sp
|
123
|
-
Luke Kanies
|
124
|
-
.SH COPYRIGHT
|
125
|
-
.sp
|
126
|
-
Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
|
127
|
-
License
|
128
|
-
.\" Generated by docutils manpage writer.
|
129
|
-
.\"
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
130
3
|
.
|
4
|
+
.TH "PUPPETCA" "8" "August 2010" "" ""
|
5
|
+
Stand\-alone certificate authority\. Capable of generating certificates but mostly meant for signing certificate requests from puppet clients\.puppet cert [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose]
|
6
|
+
.
|
7
|
+
.IP "" 4
|
8
|
+
.
|
9
|
+
.nf
|
10
|
+
|
11
|
+
[\-g|\-\-generate] [\-l|\-\-list] [\-s|\-\-sign] [\-r|\-\-revoke]
|
12
|
+
[\-p|\-\-print] [\-c|\-\-clean] [\-\-verify] [\-\-digest DIGEST]
|
13
|
+
[\-\-fingerprint] [host]
|
14
|
+
.
|
15
|
+
.fi
|
16
|
+
.
|
17
|
+
.IP "" 0
|
18
|
+
Because the puppetmasterd daemon defaults to not signing client certificate requests, this script is available for signing outstanding requests\. It can be used to list outstanding requests and then either sign them individually or sign all of them\.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\.
|
19
|
+
.
|
20
|
+
.P
|
21
|
+
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 cert with \'\-\-genconfig\'\.
|
22
|
+
.
|
23
|
+
.P
|
24
|
+
all: Operate on all items\. Currently only makes sense with
|
25
|
+
.
|
26
|
+
.IP "" 4
|
27
|
+
.
|
28
|
+
.nf
|
29
|
+
|
30
|
+
\'\-\-sign\', \'\-\-clean\', or \'\-\-list\'\.
|
31
|
+
.
|
32
|
+
.fi
|
33
|
+
.
|
34
|
+
.IP "" 0
|
35
|
+
.
|
36
|
+
.P
|
37
|
+
digest: Set the digest for fingerprinting (defaults to md5)\. Valid
|
38
|
+
.
|
39
|
+
.IP "" 4
|
40
|
+
.
|
41
|
+
.nf
|
42
|
+
|
43
|
+
values depends on your openssl and openssl ruby extension
|
44
|
+
version, but should contain at least md5, sha1, md2,
|
45
|
+
sha256\.
|
46
|
+
.
|
47
|
+
.fi
|
48
|
+
.
|
49
|
+
.IP "" 0
|
50
|
+
.
|
51
|
+
.P
|
52
|
+
clean: Remove all files related to a host from puppet cert\'s
|
53
|
+
.
|
54
|
+
.IP "" 4
|
55
|
+
.
|
56
|
+
.nf
|
57
|
+
|
58
|
+
storage\. This is useful when rebuilding hosts, since new
|
59
|
+
certificate signing requests will only be honored if puppet
|
60
|
+
cert does not have a copy of a signed certificate for that
|
61
|
+
host\. The certificate of the host remains valid\. If \'\-\-all\'
|
62
|
+
is specified then all host certificates, both signed and
|
63
|
+
unsigned, will be removed\.
|
64
|
+
.
|
65
|
+
.fi
|
66
|
+
.
|
67
|
+
.IP "" 0
|
68
|
+
.
|
69
|
+
.P
|
70
|
+
debug: Enable full debugging\.
|
71
|
+
.
|
72
|
+
.P
|
73
|
+
generate: Generate a certificate for a named client\. A
|
74
|
+
.
|
75
|
+
.IP "" 4
|
76
|
+
.
|
77
|
+
.nf
|
78
|
+
|
79
|
+
certificate/keypair will be generated for each client named
|
80
|
+
on the command line\.
|
81
|
+
.
|
82
|
+
.fi
|
83
|
+
.
|
84
|
+
.IP "" 0
|
85
|
+
.
|
86
|
+
.P
|
87
|
+
help: Print this help message
|
88
|
+
.
|
89
|
+
.P
|
90
|
+
list: List outstanding certificate requests\. If \'\-\-all\' is
|
91
|
+
.
|
92
|
+
.IP "" 4
|
93
|
+
.
|
94
|
+
.nf
|
95
|
+
|
96
|
+
specified, signed certificates are also listed, prefixed by
|
97
|
+
\'+\', and revoked or invalid certificates are prefixed by
|
98
|
+
\'\-\' (the verification outcome is printed in parenthesis)\.
|
99
|
+
.
|
100
|
+
.fi
|
101
|
+
.
|
102
|
+
.IP "" 0
|
103
|
+
.
|
104
|
+
.P
|
105
|
+
print: Print the full\-text version of a host\'s certificate\.
|
106
|
+
.
|
107
|
+
.P
|
108
|
+
fingerprint: Print the DIGEST (defaults to md5) fingerprint of a host\'s
|
109
|
+
.
|
110
|
+
.IP "" 4
|
111
|
+
.
|
112
|
+
.nf
|
113
|
+
|
114
|
+
certificate\.
|
115
|
+
.
|
116
|
+
.fi
|
117
|
+
.
|
118
|
+
.IP "" 0
|
119
|
+
.
|
120
|
+
.P
|
121
|
+
revoke: Revoke the certificate of a client\. The certificate can be
|
122
|
+
.
|
123
|
+
.IP "" 4
|
124
|
+
.
|
125
|
+
.nf
|
126
|
+
|
127
|
+
specified either by its serial number, given as a decimal
|
128
|
+
number or a hexadecimal number prefixed by \'0x\', or by its
|
129
|
+
hostname\. The certificate is revoked by adding it to the
|
130
|
+
Certificate Revocation List given by the \'cacrl\' config
|
131
|
+
parameter\. Note that the puppetmasterd needs to be
|
132
|
+
restarted after revoking certificates\.
|
133
|
+
.
|
134
|
+
.fi
|
135
|
+
.
|
136
|
+
.IP "" 0
|
137
|
+
.
|
138
|
+
.P
|
139
|
+
sign: Sign an outstanding certificate request\. Unless \'\-\-all\' is
|
140
|
+
.
|
141
|
+
.IP "" 4
|
142
|
+
.
|
143
|
+
.nf
|
144
|
+
|
145
|
+
specified, hosts must be listed after all flags\.
|
146
|
+
.
|
147
|
+
.fi
|
148
|
+
.
|
149
|
+
.IP "" 0
|
150
|
+
.
|
151
|
+
.P
|
152
|
+
verbose: Enable verbosity\.
|
153
|
+
.
|
154
|
+
.P
|
155
|
+
version: Print the puppet version number and exit\.
|
156
|
+
.
|
157
|
+
.P
|
158
|
+
verify: Verify the named certificate against the local CA
|
159
|
+
.
|
160
|
+
.IP "" 4
|
161
|
+
.
|
162
|
+
.nf
|
163
|
+
|
164
|
+
certificate\.
|
165
|
+
.
|
166
|
+
.fi
|
167
|
+
.
|
168
|
+
.IP "" 0
|
169
|
+
$ puppet cert \-l culain\.madstop\.com $ puppet cert \-s culain\.madstop\.comLuke KaniesCopyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public License
|