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/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
Puppet - Automating Configuration Management. Copyright (C) 2005
|
1
|
+
Puppet - Automating Configuration Management. Copyright (C) 2005 Puppet Labs LLC
|
2
2
|
|
3
|
-
|
3
|
+
Puppet Labs can be contacted at: info@puppetlabs.com
|
4
4
|
|
5
5
|
This program and entire repository is free software; you can
|
6
6
|
redistribute it and/or modify it under the terms of the GNU
|
data/README
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
Documentation (and detailed install instructions) can be found
|
2
|
-
online at http://
|
2
|
+
online at http://puppetlabs.com/trac/puppet/wiki/DocumentationStart .
|
3
3
|
|
4
4
|
Generally, you need the following things installed:
|
5
5
|
|
@@ -22,6 +22,6 @@ Generally, you need the following things installed:
|
|
22
22
|
the library.
|
23
23
|
|
24
24
|
* Facter => 1.5.1
|
25
|
-
You can get this from < http://
|
25
|
+
You can get this from < http://puppetlabs.com/projects/facter >
|
26
26
|
|
27
27
|
$Id$
|
data/README.queueing
CHANGED
@@ -8,7 +8,7 @@ Queue Daemon).
|
|
8
8
|
Currently this is only supported for "Storeconfigs" which is
|
9
9
|
documented at:
|
10
10
|
|
11
|
-
http://
|
11
|
+
http://puppetlabs.com/trac/puppet/wiki/UsingStoredConfiguration
|
12
12
|
|
13
13
|
In the future this feature can be extended to any new puppet
|
14
14
|
data which involves storage in a database.
|
data/README.rst
CHANGED
@@ -34,5 +34,5 @@ Generally, you need the following things installed:
|
|
34
34
|
* Facter => 1.1.1
|
35
35
|
You can get this from your package management system or the `Facter site`_
|
36
36
|
|
37
|
-
.. _Puppet Wiki: http://
|
38
|
-
.. _Facter site: http://
|
37
|
+
.. _Puppet Wiki: http://puppetlabs.com/trac/puppet/wiki/DocumentationStart
|
38
|
+
.. _Facter site: http://puppetlabs.com/projects/facter
|
data/Rakefile
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
# Rakefile for Puppet -*- ruby -*-
|
2
2
|
|
3
|
-
$: << File.expand_path('lib')
|
4
3
|
$LOAD_PATH << File.join(File.dirname(__FILE__), 'tasks')
|
5
4
|
|
6
|
-
require './lib/puppet.rb'
|
7
5
|
require 'rake'
|
8
6
|
require 'rake/packagetask'
|
9
7
|
require 'rake/gempackagetask'
|
10
8
|
|
9
|
+
module Puppet
|
10
|
+
PUPPETVERSION = File.read('lib/puppet.rb')[/PUPPETVERSION *= *'(.*)'/,1] or fail "Couldn't find PUPPETVERSION"
|
11
|
+
end
|
12
|
+
|
11
13
|
Dir['tasks/**/*.rake'].each { |t| load t }
|
12
14
|
|
13
15
|
FILES = FileList[
|
data/bin/filebucket
CHANGED
@@ -53,7 +53,7 @@
|
|
53
53
|
# parameter, so you can specify '--ssldir <directory>' as an argument.
|
54
54
|
#
|
55
55
|
# See the configuration file documentation at
|
56
|
-
# http://
|
56
|
+
# http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference for
|
57
57
|
# the full list of acceptable parameters. A commented list of all
|
58
58
|
# configuration options can also be generated by running puppet with
|
59
59
|
# '--genconfig'.
|
@@ -91,7 +91,7 @@
|
|
91
91
|
#
|
92
92
|
# = Copyright
|
93
93
|
#
|
94
|
-
# Copyright (c) 2005
|
94
|
+
# Copyright (c) 2005 Puppet Labs, LLC
|
95
95
|
# Licensed under the GNU Public License
|
96
96
|
|
97
97
|
require 'puppet/application'
|
data/bin/pi
CHANGED
data/bin/puppet
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
# parameter, so you can specify '--ssldir <directory>' as an argument.
|
24
24
|
#
|
25
25
|
# See the configuration file documentation at
|
26
|
-
# http://
|
26
|
+
# http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference for
|
27
27
|
# the full list of acceptable parameters. A commented list of all
|
28
28
|
# configuration options can also be generated by running puppet with
|
29
29
|
# '--genconfig'.
|
@@ -64,7 +64,7 @@
|
|
64
64
|
#
|
65
65
|
# = Copyright
|
66
66
|
#
|
67
|
-
# Copyright (c) 2005
|
67
|
+
# Copyright (c) 2005 Puppet Labs, LLC
|
68
68
|
# Licensed under the GNU Public License
|
69
69
|
|
70
70
|
require 'puppet/application/puppet'
|
data/bin/puppetca
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
# parameter, so you can specify '--ssldir <directory>' as an argument.
|
27
27
|
#
|
28
28
|
# See the configuration file documentation at
|
29
|
-
# http://
|
29
|
+
# http://puppetlabs.com/projects/puppet/reference/configref.html for
|
30
30
|
# the full list of acceptable parameters. A commented list of all
|
31
31
|
# configuration options can also be generated by running puppetca with
|
32
32
|
# '--genconfig'.
|
@@ -95,7 +95,7 @@
|
|
95
95
|
#
|
96
96
|
# = Copyright
|
97
97
|
#
|
98
|
-
# Copyright (c) 2005
|
98
|
+
# Copyright (c) 2005 Puppet Labs, LLC
|
99
99
|
# Licensed under the GNU Public License
|
100
100
|
|
101
101
|
require 'puppet/application/puppetca'
|
data/bin/puppetd
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
# parameter, so you can specify '--server <servername>' as an argument.
|
58
58
|
#
|
59
59
|
# See the configuration file documentation at
|
60
|
-
# http://
|
60
|
+
# http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference for
|
61
61
|
# the full list of acceptable parameters. A commented list of all
|
62
62
|
# configuration options can also be generated by running puppetd with
|
63
63
|
# '--genconfig'.
|
@@ -109,8 +109,9 @@
|
|
109
109
|
# makes sense when used in conjunction with --listen.
|
110
110
|
#
|
111
111
|
# onetime::
|
112
|
-
# Run the configuration once
|
113
|
-
#
|
112
|
+
# Run the configuration once. Runs a single daemonized Puppet run. Useful for
|
113
|
+
# interactively running puppetd and hence used in conjunction with the --no-daemonize
|
114
|
+
# option.
|
114
115
|
#
|
115
116
|
# serve::
|
116
117
|
# Start another type of server. By default, +puppetd+ will start
|
@@ -152,7 +153,7 @@
|
|
152
153
|
#
|
153
154
|
# = Copyright
|
154
155
|
#
|
155
|
-
# Copyright (c) 2005, 2006
|
156
|
+
# Copyright (c) 2005, 2006 Puppet Labs, LLC
|
156
157
|
# Licensed under the GNU Public License
|
157
158
|
|
158
159
|
require 'puppet/application/puppetd'
|
data/bin/puppetdoc
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# = Synopsis
|
5
5
|
#
|
6
|
-
# Generate a reference for all Puppet types. Largely meant for internal
|
6
|
+
# Generate a reference for all Puppet types. Largely meant for internal Puppet
|
7
7
|
# Labs use.
|
8
8
|
#
|
9
9
|
# = Usage
|
@@ -16,7 +16,7 @@
|
|
16
16
|
# If mode is not 'rdoc', then this command generates a restructured-text document describing all installed
|
17
17
|
# Puppet types or all allowable arguments to puppet executables. It is largely
|
18
18
|
# meant for internal use and is used to generate the reference document
|
19
|
-
# available on the
|
19
|
+
# available on the Puppet Labs web site.
|
20
20
|
#
|
21
21
|
# In 'rdoc' mode, this command generates an html RDoc hierarchy describing the manifests that
|
22
22
|
# are in 'manifestdir' and 'modulepath' configuration directives.
|
@@ -37,7 +37,7 @@
|
|
37
37
|
# Specifies the directory where to output the rdoc documentation in 'rdoc' mode.
|
38
38
|
#
|
39
39
|
# mode::
|
40
|
-
# Determine the output mode. Valid modes are 'text', 'trac', 'pdf', 'markdown' and 'rdoc'. The 'pdf' and 'markdown' modes create PDF or Markdown formatted files in the /tmp directory. Note that 'trac' mode only works on
|
40
|
+
# Determine the output mode. Valid modes are 'text', 'trac', 'pdf', 'markdown' and 'rdoc'. The 'pdf' and 'markdown' modes create PDF or Markdown formatted files in the /tmp directory. Note that 'trac' mode only works on Puppet Labs servers. The default mode is 'text'. In 'rdoc' mode you must provide 'manifests-path'
|
41
41
|
#
|
42
42
|
# reference::
|
43
43
|
# Build a particular reference. Get a list of references by running +puppetdoc --list+.
|
@@ -58,7 +58,7 @@
|
|
58
58
|
#
|
59
59
|
# = Copyright
|
60
60
|
#
|
61
|
-
# Copyright (c) 2005-2007
|
61
|
+
# Copyright (c) 2005-2007 Puppet Labs, LLC
|
62
62
|
# Licensed under the GNU Public License
|
63
63
|
|
64
64
|
require 'puppet/application/puppetdoc'
|
data/bin/puppetmasterd
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
# parameter, so you can specify '--ssldir <directory>' as an argument.
|
22
22
|
#
|
23
23
|
# See the configuration file documentation at
|
24
|
-
# http://
|
24
|
+
# http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference for
|
25
25
|
# the full list of acceptable parameters. A commented list of all
|
26
26
|
# configuration options can also be generated by running puppetmasterdd with
|
27
27
|
# '--genconfig'.
|
@@ -59,7 +59,7 @@
|
|
59
59
|
#
|
60
60
|
# = Copyright
|
61
61
|
#
|
62
|
-
# Copyright (c) 2005
|
62
|
+
# Copyright (c) 2005 Puppet Labs, LLC
|
63
63
|
# Licensed under the GNU Public License
|
64
64
|
|
65
65
|
require 'puppet/application/puppetmasterd'
|
data/bin/puppetqd
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
# parameter, so you can specify '--server <servername>' as an argument.
|
20
20
|
#
|
21
21
|
# See the configuration file documentation at
|
22
|
-
# http://
|
22
|
+
# http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference for
|
23
23
|
# the full list of acceptable parameters. A commented list of all
|
24
24
|
# configuration options can also be generated by running puppetd with
|
25
25
|
# '--genconfig'.
|
@@ -46,7 +46,7 @@
|
|
46
46
|
#
|
47
47
|
# = Copyright
|
48
48
|
#
|
49
|
-
# Copyright (c) 2009
|
49
|
+
# Copyright (c) 2009 Puppet Labs, LLC
|
50
50
|
# Licensed under the GNU Public License
|
51
51
|
|
52
52
|
require 'puppet/application/puppetqd'
|
data/bin/puppetrun
CHANGED
@@ -63,7 +63,7 @@
|
|
63
63
|
# parameter, so you can specify '--ssldir <directory>' as an argument.
|
64
64
|
#
|
65
65
|
# See the configuration file documentation at
|
66
|
-
# http://
|
66
|
+
# http://puppetlabs.com/projects/puppet/reference/configref.html for
|
67
67
|
# the full list of acceptable parameters. A commented list of all
|
68
68
|
# configuration options can also be generated by running puppetmasterdd with
|
69
69
|
# '--genconfig'.
|
@@ -122,7 +122,7 @@
|
|
122
122
|
#
|
123
123
|
# = Copyright
|
124
124
|
#
|
125
|
-
# Copyright (c) 2005
|
125
|
+
# Copyright (c) 2005 Puppet Labs, LLC
|
126
126
|
# Licensed under the GNU Public License
|
127
127
|
|
128
128
|
require 'puppet/application/puppetrun'
|
data/bin/ralsh
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
# parameter, so you can specify '--ssldir <directory>' as an argument.
|
34
34
|
#
|
35
35
|
# See the configuration file documentation at
|
36
|
-
# http://
|
36
|
+
# http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference for
|
37
37
|
# the full list of acceptable parameters. A commented list of all
|
38
38
|
# configuration options can also be generated by running puppet with
|
39
39
|
# '--genconfig'.
|
@@ -82,7 +82,7 @@
|
|
82
82
|
#
|
83
83
|
# = Copyright
|
84
84
|
#
|
85
|
-
# Copyright (c) 2005-2007
|
85
|
+
# Copyright (c) 2005-2007 Puppet Labs, LLC
|
86
86
|
# Licensed under the GNU Public License
|
87
87
|
|
88
88
|
require 'puppet/application/ralsh'
|
data/conf/epm.list
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
%product Puppet
|
2
|
-
%copyright 2004-2005 by
|
3
|
-
%vendor
|
2
|
+
%copyright 2004-2005 by Puppet Labs, All Rights Reserved
|
3
|
+
%vendor Puppet Labs
|
4
4
|
%license COPYING
|
5
5
|
%readme README
|
6
6
|
%description System Automation and Configuration Management Software
|
data/conf/osx/PackageInfo.plist
CHANGED
data/conf/redhat/logrotate
CHANGED
data/conf/redhat/puppet.conf
CHANGED
data/conf/redhat/puppet.spec
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
# Augeas and SELinux requirements may be disabled at build time by passing
|
2
2
|
# --without augeas and/or --without selinux to rpmbuild or mock
|
3
3
|
|
4
|
-
%{!?ruby_sitelibdir: %
|
5
|
-
%
|
4
|
+
%{!?ruby_sitelibdir: %global ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
|
5
|
+
%global confdir conf/redhat
|
6
6
|
|
7
7
|
Name: puppet
|
8
|
-
Version: 0.25.
|
8
|
+
Version: 0.25.5
|
9
9
|
Release: 1%{?dist}
|
10
10
|
Summary: A network tool for managing many disparate systems
|
11
11
|
License: GPLv2+
|
12
|
-
URL: http://
|
13
|
-
Source0: http://
|
14
|
-
|
12
|
+
URL: http://puppetlabs.com
|
13
|
+
Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz
|
14
|
+
Source1: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz.sign
|
15
|
+
|
15
16
|
Group: System Environment/Base
|
16
17
|
|
17
18
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
@@ -26,10 +27,10 @@ Requires: ruby-shadow
|
|
26
27
|
%endif
|
27
28
|
|
28
29
|
# Pull in ruby selinux bindings where available
|
29
|
-
%if 0%{?fedora}
|
30
|
-
%if 0%{?fedora} >= 12
|
30
|
+
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
31
31
|
%{!?_without_selinux:Requires: ruby(selinux)}
|
32
32
|
%else
|
33
|
+
%if 0%{?fedora} || 0%{?rhel} >= 5
|
33
34
|
%{!?_without_selinux:Requires: libselinux-ruby}
|
34
35
|
%endif
|
35
36
|
%endif
|
@@ -65,7 +66,7 @@ The server can also function as a certificate authority and file server.
|
|
65
66
|
|
66
67
|
%prep
|
67
68
|
%setup -q
|
68
|
-
|
69
|
+
patch -p1 < conf/redhat/rundir-perms.patch
|
69
70
|
|
70
71
|
%build
|
71
72
|
# Fix some rpmlint complaints
|
@@ -153,9 +154,9 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
|
|
153
154
|
%attr(-, puppet, puppet) %{_localstatedir}/run/puppet
|
154
155
|
%attr(-, puppet, puppet) %{_localstatedir}/log/puppet
|
155
156
|
%attr(-, puppet, puppet) %{_localstatedir}/lib/puppet
|
157
|
+
%{_mandir}/man5/puppet.conf.5.gz
|
156
158
|
%{_mandir}/man8/pi.8.gz
|
157
159
|
%{_mandir}/man8/puppet.8.gz
|
158
|
-
%{_mandir}/man8/puppet.conf.8.gz
|
159
160
|
%{_mandir}/man8/puppetca.8.gz
|
160
161
|
%{_mandir}/man8/puppetd.8.gz
|
161
162
|
%{_mandir}/man8/ralsh.8.gz
|
@@ -220,6 +221,11 @@ fi
|
|
220
221
|
rm -rf %{buildroot}
|
221
222
|
|
222
223
|
%changelog
|
224
|
+
* Mon May 03 2010 Todd Zullinger <tmz@pobox.com> - 0.25.5-1
|
225
|
+
- Update to 0.25.5
|
226
|
+
- Adjust selinux conditional for EL-6
|
227
|
+
- Apply rundir-perms patch from tarball rather than including it separately
|
228
|
+
|
223
229
|
* Fri Jan 01 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1
|
224
230
|
- Update to 0.25.2
|
225
231
|
- Install auth.conf, puppetqd manpage, and queuing examples/docs
|
data/conf/solaris/pkginfo
CHANGED
@@ -2,6 +2,6 @@ PKG=CSWpuppet
|
|
2
2
|
NAME=puppet - System Automation Framework
|
3
3
|
VERSION=0.23.0
|
4
4
|
CATEGORY=application
|
5
|
-
VENDOR=http://
|
6
|
-
HOTLINE=http://
|
5
|
+
VENDOR=http://puppetlabs.com/projects/puppet
|
6
|
+
HOTLINE=http://puppetlabs.com/cgi-bin/puppet.cgi
|
7
7
|
EMAIL=luke@madstop.com
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
3
3
|
|
4
|
-
<!-- Puppetd Manifest: Luke Kanies -
|
4
|
+
<!-- Puppetd Manifest: Luke Kanies - puppetlabs.com -->
|
5
5
|
|
6
6
|
<service_bundle type='manifest' name='puppetd'>
|
7
7
|
|
@@ -68,8 +68,8 @@
|
|
68
68
|
</common_name>
|
69
69
|
<documentation>
|
70
70
|
<manpage title='puppetd' section='1' />
|
71
|
-
<doc_link name='
|
72
|
-
uri='http://www.
|
71
|
+
<doc_link name='puppetlabs.com'
|
72
|
+
uri='http://www.puppetlabs.com/projects/puppet' />
|
73
73
|
</documentation>
|
74
74
|
</template>
|
75
75
|
</service>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
3
3
|
|
4
|
-
<!-- PuppetMasterd Manifest: Luke Kanies -
|
4
|
+
<!-- PuppetMasterd Manifest: Luke Kanies - puppetlabs.com -->
|
5
5
|
|
6
6
|
<service_bundle type='manifest' name='puppetmasterd'>
|
7
7
|
|
@@ -68,8 +68,8 @@
|
|
68
68
|
</common_name>
|
69
69
|
<documentation>
|
70
70
|
<manpage title='puppetmasterd' section='1' />
|
71
|
-
<doc_link name='
|
72
|
-
uri='http://www.
|
71
|
+
<doc_link name='puppetlabs.com'
|
72
|
+
uri='http://www.puppetlabs.com/projects/puppet' />
|
73
73
|
</documentation>
|
74
74
|
</template>
|
75
75
|
</service>
|