puppet 0.24.4 → 0.24.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 +170 -0
- data/Rakefile +6 -4
- data/bin/filebucket +3 -2
- data/bin/puppet +7 -4
- data/bin/puppetca +32 -14
- data/bin/puppetd +12 -34
- data/bin/puppetmasterd +3 -2
- data/bin/puppetrun +5 -43
- data/bin/ralsh +2 -2
- data/conf/debian/README.source +2 -0
- data/conf/debian/TODO.Debian +1 -0
- data/conf/debian/changelog +257 -0
- data/conf/debian/compat +1 -0
- data/conf/debian/control +45 -0
- data/conf/debian/copyright +17 -0
- data/conf/debian/docs +1 -0
- data/conf/debian/fileserver.conf +12 -0
- data/conf/debian/puppet.NEWS +63 -0
- data/conf/debian/puppet.conf +8 -0
- data/conf/debian/puppet.dirs +7 -0
- data/conf/debian/puppet.files +6 -0
- data/conf/debian/puppet.init +64 -0
- data/conf/debian/puppet.logrotate +11 -0
- data/conf/debian/puppet.postinst +9 -0
- data/conf/debian/puppet.postrm +21 -0
- data/conf/debian/puppet.preinst +25 -0
- data/conf/debian/puppetmaster.files +4 -0
- data/conf/debian/puppetmaster.init +58 -0
- data/conf/debian/rules +115 -0
- data/conf/debian/watch +2 -0
- data/conf/gentoo/init.d/puppet +1 -1
- data/conf/gentoo/init.d/puppetmaster +32 -31
- data/conf/redhat/client.init +10 -2
- data/conf/redhat/puppet.spec +4 -1
- data/conf/redhat/server.init +9 -1
- data/examples/{code/allatonce → allatonce} +0 -0
- data/examples/{code/assignments → assignments} +0 -0
- data/examples/{code/components → components} +0 -0
- data/examples/{root/etc → etc}/init.d/sleeper +0 -0
- data/examples/{root/etc → etc}/otherfile +0 -0
- data/examples/{root/etc → etc}/puppet/fileserver.conf +0 -0
- data/examples/{root/etc → etc}/puppet/namespaceauth.conf +0 -0
- data/examples/{root/etc → etc}/puppet/puppet.conf +0 -0
- data/examples/{root/etc → etc}/puppet/tagmail.conf +0 -0
- data/examples/{code/execs → execs} +0 -0
- data/examples/{code/file.bl → file.bl} +0 -0
- data/examples/{code/filedefaults → filedefaults} +0 -0
- data/examples/{code/fileparsing → fileparsing} +0 -0
- data/examples/{code/filerecursion → filerecursion} +0 -0
- data/examples/{code/functions → functions} +0 -0
- data/examples/{code/groups → groups} +0 -0
- data/examples/{code/head → head} +0 -0
- data/examples/{code/importing → importing} +0 -0
- data/examples/{code/mac_automount.pp → mac_automount.pp} +0 -0
- data/examples/{code/mac_dscl.pp → mac_dscl.pp} +0 -0
- data/examples/{code/mac_dscl_revert.pp → mac_dscl_revert.pp} +0 -0
- data/examples/{code/mac_netinfo.pp → mac_netinfo.pp} +0 -0
- data/examples/{code/mac_pkgdmg.pp → mac_pkgdmg.pp} +0 -0
- data/examples/{code/modules → modules}/sample-module.pp +0 -0
- data/examples/{code/modules → modules}/sample-module/README.txt +0 -0
- data/examples/{code/modules → modules}/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +0 -0
- data/examples/{code/modules → modules}/sample-module/manifests/init.pp +0 -0
- data/examples/{code/modules → modules}/sample-module/templates/sample.erb +0 -0
- data/examples/{code/nodes → nodes} +0 -0
- data/examples/{code/one → one} +0 -0
- data/examples/{code/relationships → relationships} +0 -0
- data/examples/{code/selectors → selectors} +0 -0
- data/examples/{code/simpletests → simpletests} +0 -0
- data/examples/{code/svncommit → svncommit} +0 -0
- data/ext/autotest/Rakefile +8 -0
- data/ext/autotest/config +43 -0
- data/ext/autotest/readme.rst +16 -0
- data/{examples/root → ext}/bin/sleeper +1 -1
- data/ext/emacs/puppet-mode.el +246 -184
- data/ext/ldap/puppet.schema +7 -2
- data/ext/module_puppet +4 -3
- data/ext/nagios/check_puppet.rb +117 -0
- data/ext/puppetlast +40 -0
- data/install.rb +12 -3
- data/lib/puppet.rb +1 -44
- data/lib/puppet/defaults.rb +23 -10
- data/lib/puppet/dsl.rb +2 -2
- data/lib/puppet/executables/client/certhandler.rb +77 -0
- data/lib/puppet/external/nagios.rb +1 -1
- data/lib/puppet/external/nagios/base.rb +60 -46
- data/lib/puppet/file_serving/indirection_hooks.rb +4 -2
- data/lib/puppet/file_serving/metadata.rb +0 -9
- data/lib/puppet/file_serving/terminus_helper.rb +4 -4
- data/lib/puppet/indirector.rb +26 -28
- data/lib/puppet/indirector/catalog/compiler.rb +6 -28
- data/lib/puppet/indirector/checksum/file.rb +2 -2
- data/lib/puppet/indirector/direct_file_server.rb +7 -7
- data/lib/puppet/indirector/envelope.rb +13 -0
- data/lib/puppet/indirector/exec.rb +2 -2
- data/lib/puppet/indirector/facts/facter.rb +2 -2
- data/lib/puppet/indirector/file.rb +17 -14
- data/lib/puppet/indirector/file_metadata/file.rb +2 -2
- data/lib/puppet/indirector/file_server.rb +14 -14
- data/lib/puppet/indirector/indirection.rb +113 -48
- data/lib/puppet/indirector/ldap.rb +13 -25
- data/lib/puppet/indirector/memory.rb +7 -7
- data/lib/puppet/indirector/module_files.rb +14 -14
- data/lib/puppet/indirector/node/exec.rb +3 -10
- data/lib/puppet/indirector/node/ldap.rb +138 -41
- data/lib/puppet/indirector/node/plain.rb +1 -8
- data/lib/puppet/indirector/node/rest.rb +1 -1
- data/lib/puppet/indirector/plain.rb +2 -2
- data/lib/puppet/indirector/report/processor.rb +2 -2
- data/lib/puppet/indirector/request.rb +42 -0
- data/lib/puppet/indirector/rest.rb +51 -3
- data/lib/puppet/indirector/terminus.rb +0 -27
- data/lib/puppet/indirector/yaml.rb +12 -17
- data/lib/puppet/metatype/attributes.rb +3 -7
- data/lib/puppet/metatype/evaluation.rb +2 -2
- data/lib/puppet/module.rb +6 -2
- data/lib/puppet/network/client/master.rb +29 -81
- data/lib/puppet/network/handler/master.rb +12 -43
- data/lib/puppet/network/http.rb +8 -6
- data/lib/puppet/network/http/handler.rb +42 -32
- data/lib/puppet/network/http/mongrel.rb +8 -9
- data/lib/puppet/network/http/mongrel/rest.rb +42 -15
- data/lib/puppet/network/http/webrick.rb +27 -16
- data/lib/puppet/network/http/webrick/rest.rb +38 -14
- data/lib/puppet/network/http_pool.rb +3 -2
- data/lib/puppet/network/server.rb +24 -22
- data/lib/puppet/network/xmlrpc/client.rb +6 -1
- data/lib/puppet/node.rb +38 -79
- data/lib/puppet/node/catalog.rb +9 -0
- data/lib/puppet/node/facts.rb +9 -1
- data/lib/puppet/parser/ast/function.rb +1 -1
- data/lib/puppet/parser/collector.rb +6 -0
- data/lib/puppet/parser/compiler.rb +1 -1
- data/lib/puppet/parser/functions.rb +25 -1
- data/lib/puppet/parser/interpreter.rb +2 -17
- data/lib/puppet/parser/parser.rb +4 -4
- data/lib/puppet/parser/parser_support.rb +6 -2
- data/lib/puppet/parser/resource.rb +6 -0
- data/lib/puppet/parser/templatewrapper.rb +9 -0
- data/lib/puppet/pgraph.rb +1 -1
- data/lib/puppet/property.rb +0 -1
- data/lib/puppet/provider.rb +9 -95
- data/lib/puppet/provider/confine.rb +77 -0
- data/lib/puppet/provider/confine/exists.rb +22 -0
- data/lib/puppet/provider/confine/false.rb +19 -0
- data/lib/puppet/provider/confine/feature.rb +17 -0
- data/lib/puppet/provider/confine/true.rb +20 -0
- data/lib/puppet/provider/confine/variable.rb +42 -0
- data/lib/puppet/provider/confine_collection.rb +47 -0
- data/lib/puppet/provider/confiner.rb +20 -0
- data/lib/puppet/provider/cron/crontab.rb +6 -2
- data/lib/puppet/provider/group/groupadd.rb +1 -1
- data/lib/puppet/provider/group/ldap.rb +48 -0
- data/lib/puppet/provider/ldap.rb +137 -0
- data/lib/puppet/provider/nameservice.rb +1 -2
- data/lib/puppet/provider/nameservice/objectadd.rb +2 -5
- data/lib/puppet/provider/package/dpkg.rb +16 -1
- data/lib/puppet/provider/package/freebsd.rb +15 -4
- data/lib/puppet/provider/package/gem.rb +33 -12
- data/lib/puppet/provider/package/pkgdmg.rb +1 -60
- data/lib/puppet/provider/package/ports.rb +6 -1
- data/lib/puppet/provider/package/rpm.rb +14 -13
- data/lib/puppet/provider/package/urpmi.rb +3 -3
- data/lib/puppet/provider/service/base.rb +4 -4
- data/lib/puppet/provider/service/debian.rb +1 -1
- data/lib/puppet/provider/service/init.rb +5 -3
- data/lib/puppet/provider/service/redhat.rb +35 -7
- data/lib/puppet/provider/ssh_authorized_key/parsed.rb +69 -0
- data/lib/puppet/provider/user/ldap.rb +133 -0
- data/lib/puppet/provider/user/useradd.rb +1 -1
- data/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +14 -14
- data/lib/puppet/rails/database/schema.rb +9 -0
- data/lib/puppet/rails/resource.rb +1 -0
- data/lib/puppet/reference/providers.rb +8 -2
- data/lib/puppet/reference/report.rb +23 -0
- data/lib/puppet/reports/rrdgraph.rb +4 -2
- data/lib/puppet/sslcertificates/ca.rb +9 -4
- data/lib/puppet/sslcertificates/support.rb +26 -2
- data/lib/puppet/transaction.rb +11 -16
- data/lib/puppet/transaction/change.rb +94 -0
- data/lib/puppet/transaction/event.rb +21 -0
- data/lib/puppet/transaction/report.rb +4 -0
- data/lib/puppet/type.rb +0 -2
- data/lib/puppet/type/file/ensure.rb +0 -5
- data/lib/puppet/type/file/group.rb +13 -7
- data/lib/puppet/type/file/source.rb +8 -15
- data/lib/puppet/type/file/target.rb +2 -0
- data/lib/puppet/type/group.rb +1 -1
- data/lib/puppet/type/mount.rb +4 -2
- data/lib/puppet/type/nagios_hostescalation.rb +3 -0
- data/lib/puppet/type/nagios_servicegroup.rb +3 -0
- data/lib/puppet/type/ssh_authorized_key.rb +56 -0
- data/lib/puppet/type/user.rb +3 -0
- data/lib/puppet/type/yumrepo.rb +0 -1
- data/lib/puppet/util.rb +1 -1
- data/lib/puppet/util/ldap.rb +5 -0
- data/lib/puppet/util/ldap/connection.rb +69 -0
- data/lib/puppet/util/ldap/generator.rb +45 -0
- data/lib/puppet/util/ldap/manager.rb +281 -0
- data/lib/puppet/util/posix.rb +2 -2
- data/lib/puppet/util/resource_template.rb +61 -0
- data/lib/puppet/util/settings.rb +63 -3
- data/lib/puppet/util/storage.rb +4 -0
- data/lib/puppet/util/warnings.rb +7 -0
- data/man/man8/filebucket.8 +116 -0
- data/man/man8/pi.8 +34 -0
- data/man/man8/puppet.8 +78 -0
- data/man/man8/puppet.conf.8 +1747 -0
- data/man/man8/puppetca.8 +118 -0
- data/man/man8/puppetd.8 +184 -0
- data/man/man8/puppetdoc.8 +62 -0
- data/man/man8/puppetmasterd.8 +87 -0
- data/man/man8/puppetrun.8 +151 -0
- data/man/man8/ralsh.8 +135 -0
- data/test/README +24 -0
- data/test/certmgr/support.rb +28 -1
- data/test/data/failers/badclassnoparam +10 -0
- data/test/data/failers/badclassparam +10 -0
- data/test/data/failers/badcompnoparam +9 -0
- data/test/data/failers/badcompparam +9 -0
- data/test/data/failers/badtypeparam +3 -0
- data/test/data/failers/noobjectrvalue +1 -0
- data/test/data/providers/cron/crontab.allthree +17 -0
- data/test/data/providers/cron/crontab.envNcomment +12 -0
- data/test/data/providers/cron/crontab.envNname +11 -0
- data/test/data/providers/cron/crontab.multirecords +12 -0
- data/test/data/providers/cron/crontab_collections.yaml +44 -0
- data/test/data/providers/cron/crontab_multiple_with_env.yaml +54 -0
- data/test/data/providers/cron/crontab_sample_records.yaml +272 -0
- data/test/data/providers/cron/examples/freebsd +2 -0
- data/test/data/providers/cron/examples/one +14 -0
- data/test/data/providers/cron/examples/openbsd +20 -0
- data/test/data/providers/package/testpackages.yaml +65 -0
- data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +5 -0
- data/test/data/reports/1.yaml +108 -0
- data/test/data/reports/2.yaml +108 -0
- data/test/data/reports/tagmail_failers.conf +3 -0
- data/test/data/reports/tagmail_passers.conf +30 -0
- data/test/data/snippets/aliastest.pp +16 -0
- data/test/data/snippets/argumentdefaults +14 -0
- data/test/data/snippets/casestatement.pp +58 -0
- data/test/data/snippets/classheirarchy.pp +15 -0
- data/test/data/snippets/classincludes.pp +17 -0
- data/test/data/snippets/classpathtest +11 -0
- data/test/data/snippets/collection.pp +10 -0
- data/test/data/snippets/collection_within_virtual_definitions.pp +20 -0
- data/test/data/snippets/componentmetaparams.pp +11 -0
- data/test/data/snippets/componentrequire.pp +8 -0
- data/test/data/snippets/deepclassheirarchy.pp +23 -0
- data/test/data/snippets/defineoverrides.pp +17 -0
- data/test/data/snippets/emptyclass.pp +9 -0
- data/test/data/snippets/emptyexec.pp +3 -0
- data/test/data/snippets/falsevalues.pp +3 -0
- data/test/data/snippets/filecreate +11 -0
- data/test/data/snippets/fqdefinition.pp +5 -0
- data/test/data/snippets/fqparents.pp +11 -0
- data/test/data/snippets/implicititeration +15 -0
- data/test/data/snippets/multipleinstances +7 -0
- data/test/data/snippets/multisubs.pp +13 -0
- data/test/data/snippets/namevartest +9 -0
- data/test/data/snippets/scopetest +13 -0
- data/test/data/snippets/selectorvalues.pp +42 -0
- data/test/data/snippets/simpledefaults +5 -0
- data/test/data/snippets/simpleselector +38 -0
- data/test/data/snippets/singleary.pp +19 -0
- data/test/data/snippets/singlequote.pp +11 -0
- data/test/data/snippets/singleselector.pp +22 -0
- data/test/data/snippets/subclass_name_duplication.pp +11 -0
- data/test/data/snippets/tag.pp +9 -0
- data/test/data/snippets/tagged.pp +35 -0
- data/test/data/snippets/virtualresources.pp +14 -0
- data/test/data/types/hosts/1 +3 -0
- data/test/data/types/hosts/2 +13 -0
- data/test/data/types/hosts/solaris +5 -0
- data/test/data/types/mailalias/file1 +183 -0
- data/test/data/types/mount/freebsd.fstab +7 -0
- data/test/data/types/mount/linux.fstab +11 -0
- data/test/data/types/mount/solaris.fstab +11 -0
- data/test/data/types/port/1 +533 -0
- data/test/data/types/port/darwin +11866 -0
- data/test/data/types/ssh_authorized_key/1 +2 -0
- data/test/data/types/sshkey/1 +21 -0
- data/test/data/types/yumrepos/fedora-devel.repo +26 -0
- data/test/data/types/yumrepos/fedora.repo +9 -0
- data/test/language/parser.rb +8 -1
- data/test/lib/puppettest/runnable_test.rb +3 -0
- data/test/lib/puppettest/support/utils.rb +1 -1
- data/test/lib/rake/puppet_testtask.rb +3 -0
- data/test/lib/stubba.rb +1 -1
- data/test/network/client/ca.rb +1 -0
- data/test/network/client/master.rb +13 -127
- data/test/network/handler/master.rb +61 -80
- data/test/other/provider.rb +0 -45
- data/test/other/transactions.rb +53 -15
- data/test/rails/host.rb +0 -37
- data/test/ral/providers/cron/crontab.rb +32 -3
- data/test/ral/providers/provider.rb +28 -7
- data/test/ral/type/filesources.rb +2 -18
- data/test/ral/type/sshkey.rb +0 -1
- data/test/ral/type/user.rb +6 -0
- data/test/test +241 -0
- metadata +289 -113
- data/examples/root/etc/configfile +0 -0
- data/examples/root/etc/debian-passwd +0 -29
- data/examples/root/etc/debian-syslog.conf +0 -71
- data/lib/puppet/event.rb +0 -28
- data/lib/puppet/network/handler/configuration.rb +0 -184
- data/lib/puppet/network/http/mongrel/xmlrpc.rb +0 -4
- data/lib/puppet/network/http/webrick/xmlrpc.rb +0 -4
- data/lib/puppet/propertychange.rb +0 -141
- data/lib/puppet/provider/interface/redhat.rb +0 -250
- data/lib/puppet/provider/interface/sunos.rb +0 -133
- data/lib/puppet/type/interface.rb +0 -60
- data/lib/puppet/util/variables.rb +0 -38
- data/test/network/handler/configuration.rb +0 -160
- data/test/other/propertychange.rb +0 -140
- data/test/util/loadedfile.rb +0 -121
data/man/man8/puppetca.8
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
.TH "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
\-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
|
7
|
+
.SH SYNOPSIS
|
8
|
+
Stand\-alone certificate authority. Capable of generating certificates
|
9
|
+
but mostly meant for signing certificate requests from puppet clients.
|
10
|
+
|
11
|
+
|
12
|
+
.SH USAGE
|
13
|
+
|
14
|
+
.\" visit_block_quote
|
15
|
+
|
16
|
+
.TP
|
17
|
+
.B puppetca [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose]
|
18
|
+
[\-g|\-\-generate] [\-l|\-\-list] [\-s|\-\-sign] [\-r|\-\-revoke]
|
19
|
+
[\-p|\-\-print] [\-c|\-\-clean] [\-\-verify] [host]
|
20
|
+
|
21
|
+
|
22
|
+
.\" depart_block_quote
|
23
|
+
|
24
|
+
.SH DESCRIPTION
|
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
|
+
|
30
|
+
|
31
|
+
.SH OPTIONS
|
32
|
+
Note that any configuration parameter that\'s valid in the configuration
|
33
|
+
file is also a valid long argument. For example, \'ssldir\' is a valid
|
34
|
+
configuration parameter, so you can specify \'\-\-ssldir <directory>\' as an
|
35
|
+
argument.
|
36
|
+
|
37
|
+
See the configuration file documentation at
|
38
|
+
http://reductivelabs.com/projects/puppet/reference/configref.html for
|
39
|
+
the full list of acceptable parameters. A commented list of all
|
40
|
+
configuration options can also be generated by running puppetca with
|
41
|
+
\'\-\-genconfig\'.
|
42
|
+
|
43
|
+
|
44
|
+
.TP
|
45
|
+
.B all: Operate on all items. Currently only makes sense with
|
46
|
+
\'\-\-sign\', \'\-\-clean\', or \'\-\-list\'.
|
47
|
+
|
48
|
+
|
49
|
+
.TP
|
50
|
+
.B clean: Remove all files related to a host from puppetca\'s storage.
|
51
|
+
This is useful when rebuilding hosts, since new certificate
|
52
|
+
signing requests will only be honored if puppetca does not
|
53
|
+
have a copy of a signed certificate for that host. The
|
54
|
+
certificate of the host remains valid. If \'\-\-all\' is specified
|
55
|
+
then all host certificates, both signed and unsigned, will be
|
56
|
+
removed.
|
57
|
+
|
58
|
+
debug: Enable full debugging.
|
59
|
+
|
60
|
+
|
61
|
+
.TP
|
62
|
+
.B generate: Generate a certificate for a named client. A
|
63
|
+
certificate/keypair will be generated for each client named on
|
64
|
+
the command line.
|
65
|
+
|
66
|
+
help: Print this help message
|
67
|
+
|
68
|
+
|
69
|
+
.TP
|
70
|
+
.B list: List outstanding certificate requests. If \'\-\-all\' is
|
71
|
+
specified, signed certificates are also listed, prefixed by
|
72
|
+
\'+\'.
|
73
|
+
|
74
|
+
print: Print the full\-text version of a host\'s certificate.
|
75
|
+
|
76
|
+
|
77
|
+
.TP
|
78
|
+
.B revoke: Revoke the certificate of a client. The certificate can be
|
79
|
+
specified either by its serial number, given as a decimal
|
80
|
+
number or a hexadecimal number prefixed by \'0x\', or by its
|
81
|
+
hostname. The certificate is revoked by adding it to the
|
82
|
+
Certificate Revocation List given by the \'cacrl\' config
|
83
|
+
parameter. Note that the puppetmasterd needs to be restarted
|
84
|
+
after revoking certificates.
|
85
|
+
|
86
|
+
|
87
|
+
.TP
|
88
|
+
.B sign: Sign an outstanding certificate request. Unless \'\-\-all\' is
|
89
|
+
specified, hosts must be listed after all flags.
|
90
|
+
|
91
|
+
verbose: Enable verbosity.
|
92
|
+
|
93
|
+
version: Print the puppet version number and exit.
|
94
|
+
|
95
|
+
verify: Verify the named certificate against the local CA certificate.
|
96
|
+
|
97
|
+
|
98
|
+
.SH EXAMPLE
|
99
|
+
|
100
|
+
.\" visit_block_quote
|
101
|
+
$ puppetca \-l
|
102
|
+
culain.madstop.com
|
103
|
+
$ puppetca \-s culain.madstop.com
|
104
|
+
|
105
|
+
|
106
|
+
.\" depart_block_quote
|
107
|
+
|
108
|
+
.SH AUTHOR
|
109
|
+
Luke Kanies
|
110
|
+
|
111
|
+
|
112
|
+
.SH COPYRIGHT
|
113
|
+
Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
|
114
|
+
License
|
115
|
+
|
116
|
+
|
117
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
118
|
+
.\"
|
data/man/man8/puppetd.8
ADDED
@@ -0,0 +1,184 @@
|
|
1
|
+
.TH Synopsis "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
Synopsis \-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
Retrieve the client configuration from the central puppet server and
|
7
|
+
apply it to the local host.
|
8
|
+
|
9
|
+
Currently must be run out periodically, using cron or something similar.
|
10
|
+
|
11
|
+
|
12
|
+
.SH USAGE
|
13
|
+
|
14
|
+
.\" visit_block_quote
|
15
|
+
|
16
|
+
.TP
|
17
|
+
.B puppetd [\-D|\-\-daemonize|\-\-no\-daemonize] [\-d|\-\-debug] [\-\-disable] [\-\-enable]
|
18
|
+
[\-h|\-\-help] [\-\-fqdn <host name>] [\-l|\-\-logdest syslog|<file>|console]
|
19
|
+
[\-o|\-\-onetime] [\-\-serve <handler>] [\-t|\-\-test]
|
20
|
+
[\-V|\-\-version] [\-v|\-\-verbose] [\-w|\-\-waitforcert <seconds>]
|
21
|
+
|
22
|
+
|
23
|
+
.\" depart_block_quote
|
24
|
+
|
25
|
+
.SH DESCRIPTION
|
26
|
+
This is the main puppet client. Its job is to retrieve the local
|
27
|
+
machine\'s configuration from a remote server and apply it. In order to
|
28
|
+
successfully communicate with the remote server, the client must have a
|
29
|
+
certificate signed by a certificate authority that the server trusts;
|
30
|
+
the recommended method for this, at the moment, is to run a certificate
|
31
|
+
authority as part of the puppet server (which is the default). The
|
32
|
+
client will connect and request a signed certificate, and will continue
|
33
|
+
connecting until it receives one.
|
34
|
+
|
35
|
+
Once the client has a signed certificate, it will retrieve its
|
36
|
+
configuration and apply it.
|
37
|
+
|
38
|
+
|
39
|
+
.SH USAGE NOTES
|
40
|
+
+puppetd+ does its best to find a compromise between interactive use and
|
41
|
+
daemon use. Run with no arguments and no configuration, it will go into
|
42
|
+
the backgroun, attempt to get a signed certificate, and retrieve and
|
43
|
+
apply its configuration every 30 minutes.
|
44
|
+
|
45
|
+
Some flags are meant specifically for interactive use \-\- in particular,
|
46
|
+
+test+ and +tags+ are useful. +test+ enables verbose logging, causes the
|
47
|
+
daemon to stay in the foreground, exits if the server\'s configuration is
|
48
|
+
invalid (this happens if, for instance, you\'ve left a syntax error on
|
49
|
+
the server), and exits after running the configuration once (rather than
|
50
|
+
hanging around as a long\-running process).
|
51
|
+
|
52
|
+
+tags+ allows you to specify what portions of a configuration you want
|
53
|
+
to apply. Puppet elements are tagged with all of the class or definition
|
54
|
+
names that contain them, and you can use the +tags+ flag to specify one
|
55
|
+
of these names, causing only configuration elements contained within
|
56
|
+
that class or definition to be applied. This is very useful when you are
|
57
|
+
testing new configurations \-\- for instance, if you are just starting to
|
58
|
+
manage +ntpd+, you would put all of the new elements into an +ntpd+
|
59
|
+
class, and call puppet with +\-\-tags ntpd+, which would only apply that
|
60
|
+
small portion of the configuration during your testing, rather than
|
61
|
+
applying the whole thing.
|
62
|
+
|
63
|
+
|
64
|
+
.SH OPTIONS
|
65
|
+
Note that any configuration parameter that\'s valid in the configuration
|
66
|
+
file is also a valid long argument. For example, \'server\' is a valid
|
67
|
+
configuration parameter, so you can specify \'\-\-server <servername>\' as
|
68
|
+
an argument.
|
69
|
+
|
70
|
+
See the configuration file documentation at
|
71
|
+
http://reductivelabs.com/projects/puppet/reference/configref.html for
|
72
|
+
the full list of acceptable parameters. A commented list of all
|
73
|
+
configuration options can also be generated by running puppetd with
|
74
|
+
\'\-\-genconfig\'.
|
75
|
+
|
76
|
+
daemonize: Send the process into the background. This is the default.
|
77
|
+
|
78
|
+
no\-daemonize: Do not send the process into the background.
|
79
|
+
|
80
|
+
debug: Enable full debugging.
|
81
|
+
|
82
|
+
|
83
|
+
.TP
|
84
|
+
.B disable: Disable working on the local system. This puts a lock file
|
85
|
+
in place, causing +puppetd+ not to work on the system
|
86
|
+
until the lock file is removed. This is useful if you are
|
87
|
+
testing a configuration and do not want the central
|
88
|
+
configuration to override the local state until everything
|
89
|
+
is tested and committed.
|
90
|
+
|
91
|
+
+puppetd+ uses the same lock file while it is running, so no more than
|
92
|
+
one +puppetd+ process is working at a time.
|
93
|
+
|
94
|
+
+puppetd+ exits after executing this.
|
95
|
+
|
96
|
+
|
97
|
+
.TP
|
98
|
+
.B enable: Enable working on the local system. This removes any lock
|
99
|
+
file, causing +puppetd+ to start managing the local system
|
100
|
+
again (although it will continue to use its normal
|
101
|
+
scheduling, so it might not start for another half hour).
|
102
|
+
|
103
|
+
+puppetd+ exits after executing this.
|
104
|
+
|
105
|
+
|
106
|
+
.TP
|
107
|
+
.B fqdn: Set the fully\-qualified domain name of the client. This is
|
108
|
+
only used for certificate purposes, but can be used to
|
109
|
+
override the discovered hostname. If you need to use this
|
110
|
+
flag, it is generally an indication of a setup problem.
|
111
|
+
|
112
|
+
help: Print this help message
|
113
|
+
|
114
|
+
|
115
|
+
.TP
|
116
|
+
.B logdest: Where to send messages. Choose between syslog, the
|
117
|
+
console, and a log file. Defaults to sending messages to
|
118
|
+
syslog, or the console if debugging or verbosity is
|
119
|
+
enabled.
|
120
|
+
|
121
|
+
|
122
|
+
.TP
|
123
|
+
.B no\-client: Do not create a config client. This will cause the daemon
|
124
|
+
to run without ever checking for its configuration
|
125
|
+
automatically, and only makes sense when used in
|
126
|
+
conjunction with \-\-listen.
|
127
|
+
|
128
|
+
|
129
|
+
.TP
|
130
|
+
.B onetime: Run the configuration once, rather than as a long\-running
|
131
|
+
daemon. This is useful for interactively running puppetd.
|
132
|
+
|
133
|
+
|
134
|
+
.TP
|
135
|
+
.B serve: Start another type of server. By default, +puppetd+ will
|
136
|
+
start a service handler that allows authenticated and
|
137
|
+
authorized remote nodes to trigger the configuration to be
|
138
|
+
pulled down and applied. You can specify any handler here
|
139
|
+
that does not require configuration, e.g., filebucket, ca,
|
140
|
+
or resource. The handlers are in
|
141
|
+
+lib/puppet/network/handler+, and the names must match
|
142
|
+
exactly, both in the call to +serve+ and in
|
143
|
+
+namespaceauth.conf+.
|
144
|
+
|
145
|
+
|
146
|
+
.TP
|
147
|
+
.B test: Enable the most common options used for testing. These are
|
148
|
+
+onetime+, +verbose+, +ignorecache, and
|
149
|
+
+no\-usecacheonfailure+.
|
150
|
+
|
151
|
+
verbose: Turn on verbose reporting.
|
152
|
+
|
153
|
+
version: Print the puppet version number and exit.
|
154
|
+
|
155
|
+
|
156
|
+
.TP
|
157
|
+
.B waitforcert: This option only matters for daemons that do not yet have
|
158
|
+
certificates and it is enabled by default, with a value of
|
159
|
+
120 (seconds). This causes +puppetd+ to connect to the
|
160
|
+
server every 2 minutes and ask it to sign a certificate
|
161
|
+
request. This is useful for the initial setup of a puppet
|
162
|
+
client. You can turn off waiting for certificates by
|
163
|
+
specifying a time of 0.
|
164
|
+
|
165
|
+
|
166
|
+
.SH EXAMPLE
|
167
|
+
|
168
|
+
.\" visit_block_quote
|
169
|
+
puppetd \-\-server puppet.domain.com
|
170
|
+
|
171
|
+
|
172
|
+
.\" depart_block_quote
|
173
|
+
|
174
|
+
.SH AUTHOR
|
175
|
+
Luke Kanies
|
176
|
+
|
177
|
+
|
178
|
+
.SH COPYRIGHT
|
179
|
+
Copyright (c) 2005, 2006 Reductive Labs, LLC Licensed under the GNU
|
180
|
+
Public License
|
181
|
+
|
182
|
+
|
183
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
184
|
+
.\"
|
@@ -0,0 +1,62 @@
|
|
1
|
+
.TH "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
\-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
|
7
|
+
.SH SYNOPSIS
|
8
|
+
Generate a reference for all Puppet types. Largely meant for internal
|
9
|
+
Reductive Labs use.
|
10
|
+
|
11
|
+
|
12
|
+
.SH USAGE
|
13
|
+
|
14
|
+
.\" visit_block_quote
|
15
|
+
puppetdoc [\-a|\-\-all] [\-h|\-\-help] [\-m|\-\-mode <text|pdf|trac> [\-r|\-\-reference <[type]|configuration|..>]
|
16
|
+
|
17
|
+
|
18
|
+
.\" depart_block_quote
|
19
|
+
|
20
|
+
.SH DESCRIPTION
|
21
|
+
This command generates a restructured\-text document describing all
|
22
|
+
installed Puppet types or all allowable arguments to puppet executables.
|
23
|
+
It is largely meant for internal use and is used to generate the
|
24
|
+
reference document available on the Reductive Labs web site.
|
25
|
+
|
26
|
+
|
27
|
+
.SH OPTIONS
|
28
|
+
all: Output the docs for all of the reference types.
|
29
|
+
|
30
|
+
help: Print this help message
|
31
|
+
|
32
|
+
|
33
|
+
.TP
|
34
|
+
.B mode: Determine the output mode. Valid modes are \'text\', \'trac\',
|
35
|
+
and \'pdf\'. Note that \'trac\' mode only works on Reductive Labs
|
36
|
+
servers. The default mode is \'text\'.
|
37
|
+
|
38
|
+
|
39
|
+
.TP
|
40
|
+
.B reference: Build a particular reference. Get a list of references by
|
41
|
+
running +puppetdoc \-\-list+.
|
42
|
+
|
43
|
+
|
44
|
+
.SH EXAMPLE
|
45
|
+
|
46
|
+
.\" visit_block_quote
|
47
|
+
$ puppetdoc \-r type > /tmp/type_reference.rst
|
48
|
+
|
49
|
+
|
50
|
+
.\" depart_block_quote
|
51
|
+
|
52
|
+
.SH AUTHOR
|
53
|
+
Luke Kanies
|
54
|
+
|
55
|
+
|
56
|
+
.SH COPYRIGHT
|
57
|
+
Copyright (c) 2005\-2007 Reductive Labs, LLC Licensed under the GNU
|
58
|
+
Public License
|
59
|
+
|
60
|
+
|
61
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
62
|
+
.\"
|
@@ -0,0 +1,87 @@
|
|
1
|
+
.TH "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
\-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
|
7
|
+
.SH SYNOPSIS
|
8
|
+
The central puppet server. Functions as a certificate authority by
|
9
|
+
default.
|
10
|
+
|
11
|
+
|
12
|
+
.SH USAGE
|
13
|
+
|
14
|
+
.\" visit_block_quote
|
15
|
+
|
16
|
+
.TP
|
17
|
+
.B puppetmasterd [\-D|\-\-daemonize|\-\-no\-daemonize] [\-d|\-\-debug] [\-h|\-\-help]
|
18
|
+
[\-l|\-\-logdest <file>|console|syslog] [\-\-nobucket] [\-\-nonodes]
|
19
|
+
[\-v|\-\-verbose] [\-V|\-\-version]
|
20
|
+
|
21
|
+
|
22
|
+
.\" depart_block_quote
|
23
|
+
|
24
|
+
.SH DESCRIPTION
|
25
|
+
This is the puppet central daemon.
|
26
|
+
|
27
|
+
|
28
|
+
.SH OPTIONS
|
29
|
+
Note that any configuration parameter that\'s valid in the configuration
|
30
|
+
file is also a valid long argument. For example, \'ssldir\' is a valid
|
31
|
+
configuration parameter, so you can specify \'\-\-ssldir <directory>\' as an
|
32
|
+
argument.
|
33
|
+
|
34
|
+
See the configuration file documentation at
|
35
|
+
http://reductivelabs.com/projects/puppet/reference/configref.html for
|
36
|
+
the full list of acceptable parameters. A commented list of all
|
37
|
+
configuration options can also be generated by running puppetmasterdd
|
38
|
+
with \'\-\-genconfig\'.
|
39
|
+
|
40
|
+
daemonize: Send the process into the background. This is the default.
|
41
|
+
|
42
|
+
no\-daemonize: Do not send the process into the background.
|
43
|
+
|
44
|
+
debug: Enable full debugging.
|
45
|
+
|
46
|
+
help: Print this help message.
|
47
|
+
|
48
|
+
|
49
|
+
.TP
|
50
|
+
.B logdest: Where to send messages. Choose between syslog, the
|
51
|
+
console, and a log file. Defaults to sending messages to
|
52
|
+
syslog, or the console if debugging or verbosity is
|
53
|
+
enabled.
|
54
|
+
|
55
|
+
nobucket: Do not function as a file bucket.
|
56
|
+
|
57
|
+
|
58
|
+
.TP
|
59
|
+
.B nonodes: Do not use individual node designations; each node will
|
60
|
+
receive the result of evaluating the entire configuration.
|
61
|
+
|
62
|
+
noreports: Do not start the reports server.
|
63
|
+
|
64
|
+
verbose: Enable verbosity.
|
65
|
+
|
66
|
+
version: Print the puppet version number and exit.
|
67
|
+
|
68
|
+
|
69
|
+
.SH EXAMPLE
|
70
|
+
|
71
|
+
.\" visit_block_quote
|
72
|
+
puppetmasterd
|
73
|
+
|
74
|
+
|
75
|
+
.\" depart_block_quote
|
76
|
+
|
77
|
+
.SH AUTHOR
|
78
|
+
Luke Kanies
|
79
|
+
|
80
|
+
|
81
|
+
.SH COPYRIGHT
|
82
|
+
Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
|
83
|
+
License
|
84
|
+
|
85
|
+
|
86
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
87
|
+
.\"
|