puppet 0.25.4 → 0.25.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (169) hide show
  1. data/CHANGELOG +679 -23
  2. data/LICENSE +2 -2
  3. data/README +2 -2
  4. data/README.queueing +1 -1
  5. data/README.rst +2 -2
  6. data/Rakefile +4 -2
  7. data/bin/filebucket +2 -2
  8. data/bin/pi +1 -1
  9. data/bin/puppet +2 -2
  10. data/bin/puppetca +2 -2
  11. data/bin/puppetd +5 -4
  12. data/bin/puppetdoc +4 -4
  13. data/bin/puppetmasterd +2 -2
  14. data/bin/puppetqd +2 -2
  15. data/bin/puppetrun +2 -2
  16. data/bin/ralsh +2 -2
  17. data/conf/epm.list +2 -2
  18. data/conf/gentoo/puppet/puppet.conf +0 -4
  19. data/conf/osx/PackageInfo.plist +1 -1
  20. data/conf/redhat/logrotate +1 -0
  21. data/conf/redhat/puppet.conf +0 -4
  22. data/conf/redhat/puppet.spec +16 -10
  23. data/conf/solaris/pkginfo +2 -2
  24. data/conf/solaris/smf/puppetd.xml +3 -3
  25. data/conf/solaris/smf/puppetmasterd.xml +3 -3
  26. data/conf/solaris/smf/svc-puppetd +1 -1
  27. data/conf/solaris/smf/svc-puppetmasterd +1 -1
  28. data/conf/suse/puppet.spec +16 -14
  29. data/conf/suse/puppet.suse.patch +16 -0
  30. data/examples/etc/puppet/fileserver.conf +5 -5
  31. data/examples/modules/sample-module/README.txt +3 -3
  32. data/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +1 -1
  33. data/ext/extlookup.rb +1 -1
  34. data/ext/nagios/check_puppet.rb +1 -1
  35. data/ext/nagios/naggen +2 -2
  36. data/ext/puppet-test +2 -2
  37. data/ext/puppetlast +1 -1
  38. data/ext/puppetstoredconfigclean.rb +1 -1
  39. data/ext/regexp_nodes/regexp_nodes.rb +4 -4
  40. data/ext/vim/syntax/puppet.vim +5 -3
  41. data/install.rb +11 -9
  42. data/lib/puppet.rb +1 -1
  43. data/lib/puppet/application/puppetd.rb +5 -4
  44. data/lib/puppet/configurer.rb +38 -31
  45. data/lib/puppet/defaults.rb +18 -13
  46. data/lib/puppet/file_serving/fileset.rb +2 -2
  47. data/lib/puppet/file_serving/terminus_helper.rb +1 -0
  48. data/lib/puppet/indirector/indirection.rb +20 -13
  49. data/lib/puppet/network/authstore.rb +3 -3
  50. data/lib/puppet/network/format_handler.rb +1 -1
  51. data/lib/puppet/network/handler/fileserver.rb +2 -2
  52. data/lib/puppet/network/handler/master.rb +1 -1
  53. data/lib/puppet/network/http_pool.rb +0 -2
  54. data/lib/puppet/network/http_server/webrick.rb +1 -1
  55. data/lib/puppet/parser/ast/casestatement.rb +4 -4
  56. data/lib/puppet/parser/ast/ifstatement.rb +2 -1
  57. data/lib/puppet/parser/ast/leaf.rb +1 -0
  58. data/lib/puppet/parser/ast/selector.rb +2 -3
  59. data/lib/puppet/parser/functions/generate.rb +3 -5
  60. data/lib/puppet/parser/functions/require.rb +8 -1
  61. data/lib/puppet/parser/functions/template.rb +1 -1
  62. data/lib/puppet/parser/lexer.rb +1 -7
  63. data/lib/puppet/parser/resource.rb +10 -4
  64. data/lib/puppet/parser/scope.rb +61 -9
  65. data/lib/puppet/provider/augeas/augeas.rb +23 -7
  66. data/lib/puppet/provider/macauthorization/macauthorization.rb +1 -1
  67. data/lib/puppet/provider/maillist/mailman.rb +2 -2
  68. data/lib/puppet/provider/package/portage.rb +2 -2
  69. data/lib/puppet/provider/service/debian.rb +2 -2
  70. data/lib/puppet/provider/service/redhat.rb +1 -1
  71. data/lib/puppet/provider/service/smf.rb +4 -1
  72. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -29
  73. data/lib/puppet/provider/user/user_role_add.rb +1 -1
  74. data/lib/puppet/reference/configuration.rb +1 -1
  75. data/lib/puppet/reference/providers.rb +1 -1
  76. data/lib/puppet/reports/tagmail.rb +1 -0
  77. data/lib/puppet/resource/catalog.rb +1 -8
  78. data/lib/puppet/simple_graph.rb +37 -12
  79. data/lib/puppet/ssl/certificate.rb +2 -3
  80. data/lib/puppet/ssl/certificate_authority.rb +1 -1
  81. data/lib/puppet/ssl/host.rb +19 -12
  82. data/lib/puppet/sslcertificates/ca.rb +5 -6
  83. data/lib/puppet/transaction.rb +11 -15
  84. data/lib/puppet/type/augeas.rb +2 -1
  85. data/lib/puppet/type/exec.rb +1 -1
  86. data/lib/puppet/type/file.rb +9 -2
  87. data/lib/puppet/type/file/checksum.rb +2 -1
  88. data/lib/puppet/type/file/source.rb +4 -4
  89. data/lib/puppet/type/maillist.rb +10 -0
  90. data/lib/puppet/type/mount.rb +5 -3
  91. data/lib/puppet/type/tidy.rb +36 -30
  92. data/lib/puppet/util/autoload.rb +2 -2
  93. data/lib/puppet/util/checksums.rb +5 -0
  94. data/lib/puppet/util/monkey_patches.rb +38 -0
  95. data/lib/puppet/util/nagios_maker.rb +1 -1
  96. data/lib/puppet/util/settings.rb +14 -4
  97. data/lib/puppet/util/suidmanager.rb +26 -2
  98. data/lib/puppet/util/zaml.rb +318 -0
  99. data/man/{man8/puppet.conf.8 → man5/puppet.conf.5} +594 -899
  100. data/man/man8/filebucket.8 +31 -45
  101. data/man/man8/pi.8 +16 -22
  102. data/man/man8/puppet.8 +26 -36
  103. data/man/man8/puppetca.8 +38 -51
  104. data/man/man8/puppetd.8 +48 -64
  105. data/man/man8/puppetdoc.8 +37 -48
  106. data/man/man8/puppetmasterd.8 +24 -32
  107. data/man/man8/puppetqd.8 +22 -27
  108. data/man/man8/puppetrun.8 +46 -58
  109. data/man/man8/ralsh.8 +43 -48
  110. data/spec/integration/bin/puppetmasterd.rb +20 -9
  111. data/spec/integration/defaults.rb +4 -0
  112. data/spec/integration/indirector/certificate/rest.rb +0 -1
  113. data/spec/integration/indirector/certificate_request/rest.rb +0 -1
  114. data/spec/integration/indirector/certificate_revocation_list/rest.rb +0 -1
  115. data/spec/integration/indirector/report/rest.rb +0 -1
  116. data/spec/integration/indirector/rest.rb +0 -1
  117. data/spec/integration/parser/functions/require.rb +18 -1
  118. data/spec/unit/application/filebucket.rb +2 -2
  119. data/spec/unit/application/puppetd.rb +4 -5
  120. data/spec/unit/configurer.rb +46 -8
  121. data/spec/unit/file_serving/fileset.rb +6 -0
  122. data/spec/unit/file_serving/terminus_helper.rb +10 -0
  123. data/spec/unit/indirector/indirection.rb +17 -28
  124. data/spec/unit/network/format_handler.rb +3 -2
  125. data/spec/unit/network/http_pool.rb +9 -17
  126. data/spec/unit/parser/ast/casestatement.rb +4 -12
  127. data/spec/unit/parser/ast/ifstatement.rb +2 -1
  128. data/spec/unit/parser/ast/leaf.rb +15 -2
  129. data/spec/unit/parser/ast/selector.rb +4 -12
  130. data/spec/unit/parser/functions/generate.rb +41 -0
  131. data/spec/unit/parser/functions/require.rb +23 -2
  132. data/spec/unit/parser/resource.rb +18 -0
  133. data/spec/unit/parser/scope.rb +94 -3
  134. data/spec/unit/provider/augeas/augeas.rb +27 -3
  135. data/spec/unit/provider/ssh_authorized_key/parsed.rb +30 -19
  136. data/spec/unit/resource/catalog.rb +16 -39
  137. data/spec/unit/simple_graph.rb +14 -0
  138. data/spec/unit/ssl/host.rb +55 -17
  139. data/spec/unit/type/file.rb +43 -11
  140. data/spec/unit/type/file/checksum.rb +28 -0
  141. data/spec/unit/type/tidy.rb +30 -1
  142. data/spec/unit/util/autoload.rb +2 -1
  143. data/spec/unit/util/checksums.rb +7 -1
  144. data/spec/unit/util/settings.rb +39 -2
  145. data/spec/unit/util/zaml.rb +38 -0
  146. data/tasks/rake/changelog.rake +1 -1
  147. data/tasks/rake/gem.rake +3 -3
  148. data/tasks/rake/git_workflow.rake +1 -1
  149. data/tasks/rake/sign.rake +1 -1
  150. data/tasks/rake/yard.rake +11 -0
  151. data/test/certmgr/certmgr.rb +1 -1
  152. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +1 -1
  153. data/test/lib/puppettest/support/utils.rb +2 -1
  154. data/test/network/handler/ca.rb +4 -4
  155. data/test/network/handler/fileserver.rb +15 -9
  156. data/test/other/transactions.rb +1 -6
  157. data/test/puppet/tc_suidmanager.rb +7 -2
  158. data/test/ral/providers/host/parsed.rb +6 -6
  159. data/test/ral/providers/package.rb +4 -0
  160. data/test/ral/providers/sshkey/parsed.rb +5 -5
  161. data/test/ral/type/file.rb +0 -21
  162. data/test/ral/type/host.rb +4 -4
  163. data/test/ral/type/resources.rb +0 -78
  164. data/test/ral/type/sshkey.rb +2 -2
  165. data/test/test +1 -1
  166. data/test/util/settings.rb +6 -6
  167. metadata +1065 -1050
  168. data/test/executables/puppetmodule.rb +0 -55
  169. data/test/ral/providers/service/debian.rb +0 -58
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- Puppet - Automating Configuration Management. Copyright (C) 2005 Reductive Labs LLC
1
+ Puppet - Automating Configuration Management. Copyright (C) 2005 Puppet Labs LLC
2
2
 
3
- Reductive Labs can be contacted at: info@reductivelabs.com
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://reductivelabs.com/trac/puppet/wiki/DocumentationStart .
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://reductivelabs.com/projects/facter >
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://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration
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://reductivelabs.com/trac/puppet/wiki/DocumentationStart
38
- .. _Facter site: http://reductivelabs.com/projects/facter
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://reductivelabs.com/trac/puppet/wiki/ConfigurationReference for
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 Reductive Labs, LLC
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
@@ -42,7 +42,7 @@
42
42
  #
43
43
  # = Copyright
44
44
  #
45
- # Copyright (c) 2005 Reductive Labs, LLC
45
+ # Copyright (c) 2005 Puppet Labs, LLC
46
46
  # Licensed under the GNU Public License
47
47
 
48
48
  require 'puppet/application/pi'
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://reductivelabs.com/trac/puppet/wiki/ConfigurationReference for
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 Reductive Labs, LLC
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://reductivelabs.com/projects/puppet/reference/configref.html for
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 Reductive Labs, LLC
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://reductivelabs.com/trac/puppet/wiki/ConfigurationReference for
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, rather than as a long-running daemon. This is
113
- # useful for interactively running puppetd.
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 Reductive Labs, LLC
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 Reductive
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 Reductive Labs web site.
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 Reductive Labs servers. The default mode is 'text'. In 'rdoc' mode you must provide 'manifests-path'
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 Reductive Labs, LLC
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://reductivelabs.com/trac/puppet/wiki/ConfigurationReference for
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 Reductive Labs, LLC
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://reductivelabs.com/trac/puppet/wiki/ConfigurationReference for
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 Reductive Labs, LLC
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://reductivelabs.com/projects/puppet/reference/configref.html for
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 Reductive Labs, LLC
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://reductivelabs.com/trac/puppet/wiki/ConfigurationReference for
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 Reductive Labs, LLC
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 Reductive Labs, All Rights Reserved
3
- %vendor Reductive Labs
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
@@ -1,8 +1,4 @@
1
1
  [main]
2
- # Where Puppet stores dynamic and growing data.
3
- # The default value is '/var/puppet'.
4
- vardir = /var/lib/puppet
5
-
6
2
  # The Puppet log directory.
7
3
  # The default value is '$vardir/log'.
8
4
  logdir = /var/log/puppet
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>CFBundleIdentifier</key>
6
- <string>com.reductivelabs.puppet</string>
6
+ <string>com.puppetlabs.puppet</string>
7
7
  <key>CFBundleShortVersionString</key>
8
8
  <string>{SHORTVERSION}</string>
9
9
  <key>IFMajorVersion</key>
@@ -1,5 +1,6 @@
1
1
  /var/log/puppet/*log {
2
2
  missingok
3
+ notifempty
3
4
  create 0644 puppet puppet
4
5
  sharedscripts
5
6
  postrotate
@@ -1,8 +1,4 @@
1
1
  [main]
2
- # Where Puppet stores dynamic and growing data.
3
- # The default value is '/var/puppet'.
4
- vardir = /var/lib/puppet
5
-
6
2
  # The Puppet log directory.
7
3
  # The default value is '$vardir/log'.
8
4
  logdir = /var/log/puppet
@@ -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: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
5
- %define confdir conf/redhat
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.2
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://puppet.reductivelabs.com/
13
- Source0: http://reductivelabs.com/downloads/puppet/%{name}-%{version}.tar.gz
14
- Patch0: rundir-perms.patch
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
- %patch0 -p1
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://reductivelabs.com/projects/puppet
6
- HOTLINE=http://reductivelabs.com/cgi-bin/puppet.cgi
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 - reductivelabs.com -->
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='reductivelabs.com'
72
- uri='http://www.reductivelabs.com/projects/puppet' />
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 - reductivelabs.com -->
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='reductivelabs.com'
72
- uri='http://www.reductivelabs.com/projects/puppet' />
71
+ <doc_link name='puppetlabs.com'
72
+ uri='http://www.puppetlabs.com/projects/puppet' />
73
73
  </documentation>
74
74
  </template>
75
75
  </service>
@@ -12,7 +12,7 @@ exec_prefix=/opt/csw
12
12
  sysconfdir=/opt/csw/etc
13
13
  sbindir=/opt/csw/sbin
14
14
 
15
- pidfile=/var/puppet/run/puppetd.pid
15
+ pidfile=/var/lib/puppet/run/puppetd.pid
16
16
 
17
17
  case "$1" in
18
18
  start)