puppet 0.25.1 → 0.25.2

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 (198) hide show
  1. data/CHANGELOG +159 -135
  2. data/Rakefile +4 -1
  3. data/conf/gentoo/conf.d/puppetmaster +1 -1
  4. data/conf/osx/createpackage.sh +12 -0
  5. data/conf/osx/preflight +4 -0
  6. data/conf/redhat/puppet.spec +12 -2
  7. data/conf/redhat/server.init +1 -0
  8. data/conf/redhat/server.sysconfig +1 -1
  9. data/ext/ldap/puppet.schema +5 -9
  10. data/ext/puppetlast +2 -1
  11. data/ext/rack/README +2 -2
  12. data/ext/regexp_nodes/classes/databases +2 -0
  13. data/ext/regexp_nodes/classes/webservers +2 -0
  14. data/ext/regexp_nodes/parameters/environment/prod +1 -0
  15. data/ext/regexp_nodes/parameters/environment/qa +3 -0
  16. data/ext/regexp_nodes/regexp_nodes.rb +215 -0
  17. data/lib/puppet.rb +1 -1
  18. data/lib/puppet/agent.rb +2 -2
  19. data/lib/puppet/application/puppet.rb +1 -1
  20. data/lib/puppet/application/puppetd.rb +1 -1
  21. data/lib/puppet/application/puppetdoc.rb +4 -3
  22. data/lib/puppet/application/puppetrun.rb +5 -14
  23. data/lib/puppet/application/ralsh.rb +9 -25
  24. data/lib/puppet/configurer.rb +2 -1
  25. data/lib/puppet/configurer/fact_handler.rb +8 -6
  26. data/lib/puppet/daemon.rb +2 -2
  27. data/lib/puppet/defaults.rb +21 -2
  28. data/lib/puppet/external/pson/common.rb +1 -1
  29. data/lib/puppet/external/pson/pure.rb +3 -3
  30. data/lib/puppet/feature/base.rb +3 -0
  31. data/lib/puppet/feature/selinux.rb +3 -0
  32. data/lib/puppet/feature/zlib.rb +6 -0
  33. data/lib/puppet/file_serving/base.rb +16 -1
  34. data/lib/puppet/file_serving/metadata.rb +46 -9
  35. data/lib/puppet/file_serving/mount/file.rb +4 -1
  36. data/lib/puppet/indirector/catalog/active_record.rb +5 -0
  37. data/lib/puppet/indirector/envelope.rb +1 -3
  38. data/lib/puppet/indirector/indirection.rb +13 -16
  39. data/lib/puppet/indirector/node/ldap.rb +7 -4
  40. data/lib/puppet/indirector/ssl_file.rb +1 -1
  41. data/lib/puppet/network/authstore.rb +48 -118
  42. data/lib/puppet/network/client/resource.rb +2 -15
  43. data/lib/puppet/network/format.rb +2 -12
  44. data/lib/puppet/network/format_handler.rb +15 -1
  45. data/lib/puppet/network/formats.rb +19 -4
  46. data/lib/puppet/network/handler/fileserver.rb +1 -0
  47. data/lib/puppet/network/http/handler.rb +1 -0
  48. data/lib/puppet/network/http/rack/httphandler.rb +0 -18
  49. data/lib/puppet/network/http/rack/rest.rb +4 -4
  50. data/lib/puppet/network/http/rack/xmlrpc.rb +4 -4
  51. data/lib/puppet/network/http/webrick.rb +2 -1
  52. data/lib/puppet/network/server.rb +1 -1
  53. data/lib/puppet/node/environment.rb +20 -9
  54. data/lib/puppet/parameter.rb +17 -1
  55. data/lib/puppet/parser/ast/boolean_operator.rb +2 -2
  56. data/lib/puppet/parser/ast/leaf.rb +5 -1
  57. data/lib/puppet/parser/ast/resourceparam.rb +4 -0
  58. data/lib/puppet/parser/ast/selector.rb +4 -0
  59. data/lib/puppet/parser/functions/generate.rb +2 -2
  60. data/lib/puppet/parser/functions/shellquote.rb +1 -1
  61. data/lib/puppet/property.rb +3 -11
  62. data/lib/puppet/provider/cron/crontab.rb +2 -0
  63. data/lib/puppet/provider/host/parsed.rb +9 -9
  64. data/lib/puppet/provider/package/blastwave.rb +7 -6
  65. data/lib/puppet/provider/package/portage.rb +23 -27
  66. data/lib/puppet/provider/package/rug.rb +1 -1
  67. data/lib/puppet/provider/package/sun.rb +5 -3
  68. data/lib/puppet/provider/service/daemontools.rb +1 -1
  69. data/lib/puppet/provider/service/debian.rb +1 -1
  70. data/lib/puppet/provider/service/runit.rb +1 -1
  71. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +2 -1
  72. data/lib/puppet/provider/sshkey/parsed.rb +3 -5
  73. data/lib/puppet/provider/zone/solaris.rb +1 -1
  74. data/lib/puppet/rails.rb +9 -2
  75. data/lib/puppet/rails/benchmark.rb +1 -1
  76. data/lib/puppet/rails/host.rb +2 -7
  77. data/lib/puppet/rails/resource.rb +20 -26
  78. data/lib/puppet/resource/catalog.rb +3 -3
  79. data/lib/puppet/resource/reference.rb +13 -25
  80. data/lib/puppet/ssl/certificate.rb +3 -2
  81. data/lib/puppet/ssl/host.rb +14 -33
  82. data/lib/puppet/sslcertificates.rb +1 -5
  83. data/lib/puppet/sslcertificates/ca.rb +8 -7
  84. data/lib/puppet/transaction.rb +15 -12
  85. data/lib/puppet/type.rb +12 -5
  86. data/lib/puppet/type/file.rb +26 -32
  87. data/lib/puppet/type/file/content.rb +5 -5
  88. data/lib/puppet/type/file/ensure.rb +6 -17
  89. data/lib/puppet/type/file/mode.rb +18 -1
  90. data/lib/puppet/type/file/source.rb +12 -12
  91. data/lib/puppet/type/host.rb +6 -9
  92. data/lib/puppet/type/k5login.rb +1 -1
  93. data/lib/puppet/type/maillist.rb +4 -7
  94. data/lib/puppet/type/port.rb +6 -5
  95. data/lib/puppet/type/resources.rb +12 -12
  96. data/lib/puppet/type/sshkey.rb +5 -5
  97. data/lib/puppet/type/tidy.rb +9 -2
  98. data/lib/puppet/type/yumrepo.rb +3 -1
  99. data/lib/puppet/util.rb +64 -56
  100. data/lib/puppet/util/backups.rb +2 -1
  101. data/lib/puppet/util/filetype.rb +46 -0
  102. data/lib/puppet/util/log.rb +10 -18
  103. data/lib/puppet/util/log_paths.rb +14 -0
  104. data/lib/puppet/util/methodhelper.rb +3 -4
  105. data/lib/puppet/util/monkey_patches.rb +8 -0
  106. data/lib/puppet/util/rdoc/generators/puppet_generator.rb +5 -3
  107. data/lib/puppet/util/rdoc/parser.rb +32 -16
  108. data/lib/puppet/util/reference.rb +6 -3
  109. data/lib/puppet/util/selinux.rb +21 -14
  110. data/lib/puppet/util/settings.rb +30 -25
  111. data/lib/puppet/util/settings/file_setting.rb +7 -4
  112. data/lib/puppet/util/subclass_loader.rb +1 -1
  113. data/lib/puppet/util/suidmanager.rb +11 -1
  114. data/lib/puppet/util/tagging.rb +22 -4
  115. data/man/man8/filebucket.8 +23 -18
  116. data/man/man8/pi.8 +42 -20
  117. data/man/man8/puppet.8 +47 -32
  118. data/man/man8/puppet.conf.8 +807 -764
  119. data/man/man8/puppetca.8 +24 -14
  120. data/man/man8/puppetd.8 +33 -16
  121. data/man/man8/puppetdoc.8 +71 -18
  122. data/man/man8/puppetmasterd.8 +18 -25
  123. data/man/man8/puppetqd.8 +60 -0
  124. data/man/man8/puppetrun.8 +27 -14
  125. data/man/man8/ralsh.8 +33 -40
  126. data/spec/integration/bin/puppetmasterd.rb +3 -2
  127. data/spec/integration/defaults.rb +11 -0
  128. data/spec/integration/file_serving/metadata.rb +1 -0
  129. data/spec/integration/indirector/file_content/file_server.rb +2 -1
  130. data/spec/integration/ssl/certificate_request.rb +2 -0
  131. data/spec/integration/type/file.rb +20 -1
  132. data/spec/shared_behaviours/file_serving.rb +1 -1
  133. data/spec/spec_helper.rb +1 -1
  134. data/spec/unit/application/puppet.rb +11 -30
  135. data/spec/unit/application/puppetd.rb +1 -0
  136. data/spec/unit/application/puppetdoc.rb +13 -4
  137. data/spec/unit/application/puppetmasterd.rb +1 -0
  138. data/spec/unit/application/puppetrun.rb +12 -2
  139. data/spec/unit/application/ralsh.rb +39 -22
  140. data/spec/unit/configurer.rb +6 -0
  141. data/spec/unit/configurer/fact_handler.rb +15 -1
  142. data/spec/unit/file_serving/metadata.rb +128 -16
  143. data/spec/unit/file_serving/mount/file.rb +8 -0
  144. data/spec/unit/indirector/catalog/active_record.rb +20 -1
  145. data/spec/unit/indirector/catalog/compiler.rb +2 -1
  146. data/spec/unit/indirector/indirection.rb +29 -18
  147. data/spec/unit/indirector/node/ldap.rb +20 -6
  148. data/spec/unit/network/authstore.rb +197 -0
  149. data/spec/unit/network/format_handler.rb +28 -8
  150. data/spec/unit/network/formats.rb +31 -0
  151. data/spec/unit/network/http/handler.rb +10 -0
  152. data/spec/unit/network/http/webrick.rb +2 -2
  153. data/spec/unit/network/rest_authconfig.rb +2 -2
  154. data/spec/unit/network/rights.rb +1 -1
  155. data/spec/unit/node/environment.rb +39 -23
  156. data/spec/unit/other/selinux.rb +2 -2
  157. data/spec/unit/parameter.rb +8 -0
  158. data/spec/unit/parser/ast/leaf.rb +9 -0
  159. data/spec/unit/parser/ast/selector.rb +8 -1
  160. data/spec/unit/parser/lexer.rb +1 -1
  161. data/spec/unit/parser/resource.rb +11 -0
  162. data/spec/unit/parser/resource/reference.rb +13 -1
  163. data/spec/unit/property.rb +6 -0
  164. data/spec/unit/provider/mount/parsed.rb +3 -1
  165. data/spec/unit/provider/service/debian.rb +1 -1
  166. data/spec/unit/provider/ssh_authorized_key/parsed.rb +9 -1
  167. data/spec/unit/provider/sshkey/parsed.rb +19 -0
  168. data/spec/unit/rails.rb +22 -9
  169. data/spec/unit/rails/resource.rb +20 -0
  170. data/spec/unit/ssl/host.rb +19 -57
  171. data/spec/unit/transaction.rb +39 -4
  172. data/spec/unit/type.rb +9 -0
  173. data/spec/unit/type/file/content.rb +29 -0
  174. data/spec/unit/type/maillist.rb +42 -0
  175. data/spec/unit/type/resources.rb +66 -1
  176. data/spec/unit/type/tidy.rb +14 -1
  177. data/spec/unit/util/autoload.rb +2 -0
  178. data/spec/unit/util/ldap/connection.rb +1 -1
  179. data/spec/unit/util/log.rb +14 -0
  180. data/spec/unit/util/monkey_patches.rb +103 -0
  181. data/spec/unit/util/queue.rb +10 -2
  182. data/spec/unit/util/selinux.rb +61 -2
  183. data/spec/unit/util/settings.rb +19 -0
  184. data/spec/unit/util/settings/file_setting.rb +25 -0
  185. data/spec/unit/util/tagging.rb +10 -0
  186. data/tasks/rake/changelog.rake +15 -0
  187. data/tasks/rake/ci.rake +22 -0
  188. data/tasks/rake/dailybuild.rake +9 -0
  189. data/tasks/rake/gem.rake +46 -0
  190. data/tasks/rake/git_workflow.rake +121 -0
  191. data/tasks/rake/metrics.rake +6 -0
  192. data/tasks/rake/sign.rake +14 -0
  193. data/tasks/rake/testbranch.rake +16 -0
  194. data/tasks/rake/tracdocs.rake +8 -0
  195. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +1 -0
  196. metadata +1042 -1288
  197. data/ext/bin/sleeper +0 -67
  198. data/ext/module_puppet +0 -209
data/CHANGELOG CHANGED
@@ -1,5 +1,155 @@
1
+ 0.25.2
2
+ ======
3
+ 6111ba8 Fix for temporary file security whole
4
+ e7d98cc Fix for #2999 (absent package handling on solaris)
5
+ 87136b4 Fix typo in documentation: wheter vs. whether.
6
+ cbc2ef0 Partial rollback of refinements to fix for #2994
7
+ fd631b9 Do not close stdout or stderr in execute.
8
+ f878fe8 Update Red Hat spec file for 0.25.2
9
+
10
+ 0.25.2rc3
11
+ =========
12
+ 4394c48 Updated CHANGELOG for 0.25.2rc3
13
+ 13cbf04 ReFix 2675 ending slash in directory should get stripped off
14
+ 5c6f07b Use a pipe instead of a temp file for command output.
15
+ 7e64393 Additional fix for #2994 (followed symlinks do not have checksums)
16
+ 7e2e12b Fix for #2995 (don't fail to load PSON when UTF-8 missing)
17
+ c84186a Revert "Fix for #2731 (problem communicating with processes in SELinux)"
18
+ 74d9693 Updated man pages for 0.25.2
19
+ 7e2b1e9 Fix for #2995 (don't fail to load PSON when UTF-8 missing)
20
+ d1ff4b3 Fix for #2994 (undefined method "_file" message)
21
+ 4d81511 fix #2987 - check correct hash entry
22
+
23
+ 0.25.2rc2
24
+ =========
25
+ 682000b Updated CHANGELOG for 0.25.2rc2
26
+ e4bb529 Fix for #2967 (RFC-1123 problem and regression on wildcarded domains)
27
+ 776be7c Updated CHANGELOG
28
+
29
+ 0.25.2rc1
30
+ =========
31
+ a73f799 Updated version
32
+ 26e7486 Fixing failing tests
33
+ 05e897e Fix for #2881 (ralsh doesn't find individual parsed resources)
34
+ e04f9e4 Code smell reductions
35
+ 24654a2 Making provider/host/parser.rb compatible with host_aliases
36
+ 49530ad Fixing #2964 updated resources cannot be collected until they are exported twice
37
+ 6ab2453 Fix for #2731 (problem communicating with processes in SELinux)
38
+ 0e5d264 Fix for #2940 (propogating nil rather than reporting the error)
39
+ d60ea0e A slide down the RFC-1123 slope towards MS Windows compatibility and chaos
40
+ b185801 Fixing #2960 Test Failed: 'Puppet::Type::Mount::ProviderParsed when modifying the filesystem tab should write the mount to disk when :flush is called
41
+ 5e5c8b5 Fixing tests
42
+ 0cb5e7d Fix for #2943 (Make puppet --apply respect --preferred_serialization_format)
43
+ 0884035 Fix #2970 spec/unit/provider/ssh_authorized_key/parsed.rb has order dependencies
44
+ b86decc Fix #2816 MySQL server has gone away
45
+ 854c065 Fix for #2813 (alias propety v. alias metapram)
46
+ 813cb58 Fix for #2765 (--no-fqdn regression in puppetrun)
47
+ e9a0cb7 Fix for #2657 (retain old setting if config has syntax error)
48
+ 727ee72 Fix #2966 spec/unit/util/queue.rb can't be run twice
49
+ 8c8e921 Fixing #2963 spec/unit/util/autoload.rb depends on global state
50
+ ea90daa Fix for #2965 (Chatty SELinux message)
51
+ fc221ff Fixed RSpec deprecation error
52
+ 037b99a Fixing #2958 inconsistent errors in spec/integration/bin/puppetmasterd.rb
53
+ d11c750 Fix for #2951 (SELinux test errors on OS X)
54
+ 0dc2dba Fix for #2890 (the cached certificates that would not die)
55
+ 03f37ac Fix for #2950 (parens needed warning)
56
+ 61fd460 Fix #2924 Test Failed: Puppet::Indirector::FileContent::FileServer when finding files should find plugin file content in the environment specified in the request
57
+ 2432b23 Fixed test typo
58
+ f5960ce Closed #2937 - Migrated a number of requires to features
59
+ 2d88926 Fix for #2869 (SELinux tests failing under some load orderings)
60
+ 18c5165 Adds partial IPv6 support to authstore
61
+ 857047d Fix for #2567 (Authstore does unintended/pointless DNS lookups)
62
+ dddbd28 Enabling steps for #2567 (Authstore does unintended/pointless DNS lookups)
63
+ ea0a43f Fix 2948 Failing rests in spec/unit/rails.rb
64
+ b6f4291 Fix #2923 failing tests in spec/unit/ssl/host.rb
65
+ bf7c108 Fix #2677 Proper OIDs on puppet.schema for LDAP
66
+ e0488b2 Fix #2808 puppetqd doesn't give an error when no config is given
67
+ 7b2e2ba Fixing 2851 spec/unit/network/rest_authconfig.rb test descriptions change
68
+ 1c69af2 Fixing 2855 Inadvertent zlib dependency
69
+ 3528a7b 2850 spec/unit/application/puppetd.rb generates warnings if run with certain other tests
70
+ d343af0 2876 spec/unit/indirector/catalog/compiler.rb changes behaviour
71
+ a7fae47 Fix 2936 Insufficient mocks for webrick in spec/unit/network/http/webrick.rb
72
+ b96b757 Fix for #887 (safely setting pager to cat for blastwave)
73
+ d685f44 2633 file and line info on bad params in type/file
74
+ 4326eb2 Fix for #2817 (links created even when links property set to follow)
75
+ 118adc1 2875 spurious test failure in spec/integration/file_serving/content.rb
76
+ 0f63a54 2877 race condition in webrick
77
+ 4895329 Fix for #2921 (test not checking for what it really wanted)
78
+ f47fa40 Fix for #2925 (accept higher versions of rspec)
79
+ c261721 Fix for #2911 (Allow capital letters in selinux contexts)
80
+ bf7d650 Fix for #2900 (rug output parsing too specific)
81
+ cccbca4 Fix for #2786 (failed trying to backup directory in recursive purge)
82
+ 6dfac97 Fixing 2907 rspec crash when spec/unit/application/puppetrun.rb is run after spec/unit/util/ldap/connection.rb
83
+ 1c8d272 Fixing 2870 Spurious failures in spec/integration/ssl/certificate_request.rb
84
+ 979440f Fixing 2862 spec/integration/file_serving/metadata.rb fails unless run with other tests
85
+ e04d299 Fixing 2858 spec/unit/application/puppetmasterd.rb fails if run twice
86
+ 53a9805 Minimal fix for #2822
87
+ 9ac1ed6 Fix for #2863 (calling each on uninitialized tag list)
88
+ bd9e06f Feature 2827 Option to disable managing internal files
89
+ 8b66998 Fixing 2849 puppet changes sshkey alias every run if it is blank
90
+ 7136c85 Fixed spellquote function documentation
91
+ de16fd3 Updated yumrepo type documentation
92
+ d1fa7cf Fixed --no-ca option in Gentoo also
93
+ 8b5b4b6 Fixed incorrect command line in Red Hat sysconfig file
94
+ 623d9c7 Fixing 2886: Failing specs in format_handler
95
+ feb021f Avoiding rspec bug which causes 'be_all' tests to always pass
96
+ 228f105 Removed some extraneous files from ext
97
+ 01c98f6 Fixed #2798 - Correct issue with crontab provider on AIX
98
+ f7c5ceb Fixing 2725 Error message when permissions incorrect on file server directory
99
+ 07b94b4 2842 Format debugging should be removed
100
+ 3abcc89 Fix #2783, take2 - puppetdoc should use environment to get modulepath/manifestdir
101
+ f5dd6c8 Fix #2831 - puppetdoc doesn't cope with regex node
102
+ 4a06379 Fixing #2857 (quote nesting error)
103
+ 9a41c35 Fixing #2791 fs_find should follow symlinks
104
+ 5629092 Added additional documentation to file mode attribute.
105
+ dc8812c Fixing 2792 selinux tries to set properties on unsupported filesystes
106
+ 57632a0 fix #2854 - parse timestamps
107
+ cb6bc27 fix regex for non-installed packages
108
+ 9cfe390 Fixing 2812 authorized_keys without comments fail
109
+ 53b3b86 Fix for ticket #2844 (file recursion generated vs. explicit prefix)
110
+ 8129caa Fix for ticket #2700 -- check for @explicit_waitforcert in puppetd --test
111
+ e32f980 Fixed #1806 - supplementary groups are not reset
112
+ be7ff82 Fix 2768 maillist resource is broken
113
+ 48beaba simplify and fix portage provider
114
+ 0ac0ce9 Implement tasks for git-based workflow.
115
+ bd5dc64 Possible workaround for #2824 (MRI GC bug)
116
+ c1e47a4 Fixing #2789 puppetrun fails without --tag
117
+ 106c9a9 Fixing 904 RDoc::usage incompatible with rubygems
118
+ 5ed2e26 rack: SSL Env vars can only be in Request.env
119
+ 7f2e5fc Fix #2671, preferred_serialization_format does not complain about invalid values
120
+ f0eaf20 Fixing #2764 ActiveRecord 2.1 support
121
+ eaab789 Fix failing tests introduced by #2797
122
+ 55d8ffa Fix #2810 - adapt tidy to new FileSet api
123
+ 236bacc conf/redhat: Prevent killproc from removing /usr/sbin/puppetmasterd
124
+ 41f025c Fixed ldap typo again
125
+ 6c2daa3 Fix #2783 - Puppetdoc rdoc should use environment to get modulepath/manifestdir
126
+ 5648666 Add Environment#manifestdir and small refactoring
127
+ 74a877e Minimal fix for #2821 ("rake spec" is needlessly slow)
128
+ cd10e6d Added package signing task
129
+ ca56aa7 Least kludgy patch for #2675
130
+ adc0a4e Fix for #2661 and related issues
131
+ 65f601a Fixing 2806 Specifying multiple tags fails to apply any of them
132
+ e2c675e Updated generate function documentation to make it clear it runs on the master
133
+ 53f40bd Fix #2681 Incorrectly duplicating resources
134
+ 3fdc8ef Ticket #2770 (deserializing Exec[...]s with "\n"s)
135
+ b172287 Fixing #2767 invoke-rc.d warnings
136
+ 4013560 Fix #2797 - tags are not inherited by recursed file sub child
137
+ f05a04e Fix #2784 - puppetdoc/rdoc didn't parse mono-instruction class content
138
+ 38ec9fc Fix #2796 - Fix puppetdoc rdoc selector parsing
139
+ 5f7177e Fix #2795 - puppetdoc rdoc reports a better error message
140
+ 136949d Fixing #2631 show_diff sometimes doesn't happen
141
+ cb3e5e1 Fix #2787 - Storeconfig doesn't store/update node ip and environment anymore
142
+ ff23b57 Fix for #2670, Puppet silently ignores catalog_format
143
+ ee13efa Add docs to Mac OS X package creation script and clean out old docs in the preflight
144
+ b8470b8 Fix #2757 & CSR 92 (symlinks in recursively managed dirs)
145
+ 5b750c2 Fix #2769 - default schedule are not defined
146
+ eca338c Fix for #2772 (webrick test failures)
147
+ b1c57e9 Al Hoang's patch for #2781, removing obsolete when/: syntax
148
+ 50e9c98 Follow-on for #2724 - Adding an external node classifier
149
+
1
150
  0.25.1
2
151
  ======
152
+ 2f0b1e5 Updated CHANGELOG
3
153
  20e5222 Fixing #2689 - file owner warnings are reduced
4
154
  09fb3f7 Fixing #2752 - "require" loads "include"
5
155
  6846c32 Fixing some recently broken Scope tests
@@ -24,6 +174,9 @@ b4bcfe9 Fix for #2736, target doesn't work for ssh_authorized_keys
24
174
  ae528f6 Ticket #2734 PSON/JSON not serializing classes of a catalog
25
175
  f59f805 Bug #1900 Parsing of quoted $ in stdin
26
176
  6ba122f Fixing #2735 - node classes are immed. added to classlist
177
+
178
+ 0.25.1rc2
179
+ =========
27
180
  bca3b70 Bundling of pure ruby json lib as "pson"
28
181
  ce46be5 Proposed alternative solution for #2664 (REGEX / DIV lexing)
29
182
  b0518c3 Fix for #2681 (duplicate resource)
@@ -38,6 +191,9 @@ ad86e9e Fixes #2688. Macauthorization provider now handles booleans internally
38
191
  d891f7a Ticket #2676 (a typo)
39
192
  bfba2cd Fix #2672 - Make sure nodenames keep their underscores when used as classname
40
193
  db67e5f Added rcov exclusion to Rakefile
194
+
195
+ 0.25.1rc1
196
+ =========
41
197
  6912a7e Incremented version to 0.25.1
42
198
  fd322da Fixes #1538 - Fixes the yumrepo backtrace in noop mode.
43
199
  6551e86 Fix #2664 - Mathematic expressions mis-lexed as Regex
@@ -277,138 +433,6 @@ a6816ff Set ENV['PATH'] to an empty string if non-existent
277
433
  603b9cf Change the diff default output to "unified"
278
434
  9bc9b5c Added missing colon to suntab
279
435
  0f2d70d Fixed #2087 and refactored the code that gets the smf service state
280
- 3f070c1 Using the logging utilities to clean up module warnings
281
- feb7f89 Fixing #1064 - Deprecating module 'plugins' directories
282
- ccf4e69 Removing deprecated :pluginpath setting
283
- 4036de9 Fixing #2094 - filebucket failures are clearer now
284
- ed876e0 Refactoring part of the file/filebucket integration
285
- bd81c25 Adding tests for file/backup behaviour
286
- c45ebfa Fixed pi binary so --meta option works and updated documentation
287
- d2080a5 Fixing #2323 - Modules use environments correctly
288
- b9e632f Fixed #2102 - Rails feature update fixed for Debian and Ubuntu
289
- 1c4ef61 Fixed #2052 - Added -e option to puppet --help output
290
- d332333 Fix #2333 - Make sure lexer skip whitespace on non-token
291
- 5fbf63c Updated split function and add split function unit tests (courtesy of Thomas Bellman)
292
- a585bdd * provider/augeas: strip whitespace and ignore blank lines
293
- a94d2de Fixed pi tests
294
- 5f7455e Fixed #2222 - Cleanup pi binary options and --help output
295
- 134ae3e Fixing #2329 - puppetqd tests now pass
296
- de55e19 Cleaning up scope tests a bit
297
- e4ae870 Fixing #2336 - qualified variables only throw warnings
298
- 607b01e Fix #2246 - take2: make sure we run the rails tag query only when needed
299
- 06b919d Fix collector specs which were not working
300
- 2945f8d Make sure overriding a tag also produces a tag
301
- e142ca6 Removed a unit test which tested munging which is no longer done in the type
302
- d8ee6cf Clearn up a parsing error reported by the tests
303
- 446557f vim: several improvements + cleanup
304
- 9152678 Fixed #2229 - Red Hat init script error
305
- b5a8c4d Fix #1907 (or sort) - 'require' puppet function
306
- 74730df #2332: Remove trailing slashes from path commands in the plugin
307
- 1a89455 Changing the preferred serialization format to json
308
- 0de70b7 Switching Queueing to using JSON instead of YAML
309
- 7b33b6d Adding JSON support to Catalogs
310
- c0bd0aa Providing JSON support to the Resource class
311
- c16fd1b Adding a JSON utility module for providing Ruby compat
312
- f059c51 Adding JSON support to Puppet::Relationship
313
- 7f322b3 Adding a JSON format
314
- 7666597 Allowing formats to specify the individual method names to use
315
- d40068f Allowing formats to specify the methods they require
316
- 024ccf5 Adding a "json" feature
317
- c8b382d Fix some tests who were missing some actions
318
- f9516d4 Make sure virtual and rails query use tags when tag are searched
319
- b5855ec Make sure resources are tagged with the user tag on the server
320
- d69fffb Fix #2246 - Array tagged resources can't be collected or exported
321
- 6ce0d1e Partial fix for #2329
322
- 4f2c066 Removed extra whitespace from end of lines
323
- 97e6975 Changed indentation to be more consistent with style guide (4 spaces per level)
324
- 41ce18c Changed tabs to spaces without interfering with indentation or alignment
325
- f3b4092 Fix #2308 - Mongrel should use X-Forwarded-For
326
- 7b0413e Fixes Bug #2324 - Puppetd fails to start without rails
327
- 48d5e8c Enhance versioncmp documentation
328
- ef56ba5 * provider/augeas: minor spec test cleanup
329
- d322329 * provider/augeas: allow escaped whitespace and brackets in paths
330
- 9735c50 * provider/augeas: match comparison uses '==' and '!=' again
331
- dbfa61b * provider/augeas (process_match): no match results in empty array
332
- 386923e * provider/augeas: remove useless checks for nil
333
- 171669a * provider/augeas: simplify evaluation in process_get/match
334
- 51cc752 * provider/augeas (open_augeas): use Augeas flag names, not ints
335
- 4951cdf * provider/augeas: ensure Augeas connection is always closed
336
- 0d5a24d * provider/augeas: minor code cleanup
337
- cea7bb5 * provider/augeas (parse_commands): use split to split string into lines
338
- 95bd826 * provider/augeas: remove trailing whitespace (no functional change)
339
- 7c5125b Brought in lutters parse_commands patch and integrated it into the type.
340
- 6ce8154 Removed --no-chain-reply-to in rake mail_patches task
341
- 4ef7bba Removing --no-thread from the mail_patches rake target
342
- 508934b Fixing a bunch of warnings
343
- fb0ed7a Fixing tests broken by a recent fix to Cacher
344
- 650029e Always providing a value for 'exported' on Rails resources
345
- f1dba91 Fixing #2230 - exported resources work again
346
- 5522eb8 Disabling the catalog cache, so puppetqd is compatible with storeconfigs
347
- abbb282 Fixing the rails feature to be compatible with 2.1+
348
- 907b39b Using Message acknowledgement in queueing
349
- 42247f0 Fixing #2315 - ca --generate works again
350
- d7be033 Fix #2220 - Make sure stat is refreshed while managing Files
351
- e4d5966 Added puppet branding to format patch command
352
- 00d5139 vim: Remove another mention of 'site' from syntax
353
- 9067abd vim: Highlight parameters with 'plusignment' operator
354
- 736b0e4 vim: Highlight strings in single quotes
355
- ce01c95 vim: Clean up syntax spacing
356
- 3af2dbf JRuby OpenSSL implementation is more strict than real ruby one and
357
- 62534a1 Logging when a cached catalog is used.
358
- ff5c44f Changing Puppet::Cacher::Expirer#expired? method name
359
- e3d4c8e Fixing #2240 - external node failures now log output
360
- bc1445b Fixing #2237 - client_yaml dir is always created by puppetd
361
- e0c19f9 Fixing #2228 - --logdest works again in puppetd and puppetmasterd
362
- ab34cf6 Fixing puppetmasterd tests when missing rack
363
- 9d5d0a0 Fixing the Agent so puppetrun actually works server-side
364
- b0ef08b Fixing #2248 - --no-client correctly leaves off client
365
- b83b159 Fixing #2243 - puppetrun works again
366
- 3d2189f Fixed #2304 - Added naggen script to directly generate nagios configuration files from a StoreConfigs Rails database
367
- 700ad5b Sync conf/redhat/puppet.spec with Fedora/EPEL
368
- 3ec3f91 Fixed #2280 - Detailed exit codes fix
369
- f98d49f Fixing #2253 - pluginsync failures propagate correctly
370
- d860a2f Fixing a transaction test that had some broken plumbing
371
- a728757 Refactoring resource generation slightly
372
- 6e824d8 Adding a Spec lib directory and moving tmpfile to it
373
- 1d69dbf Extracting a method from eval_resource in Transaction
374
- 7650fb2 Not trying to load files that get removed in pluginsyncing
375
- 3995e70 Fix #2300 - Update ssh_authorized_key documentation
376
- cb4a4d3 Changed version to allow Rake to work. Minor
377
- 99f666f enable maillist on centos, redhat, fedora
378
- e13befa Fixing #2288 - fixing the tests broken by my attr_ttl code
379
- a406d58 Fix for #2234: test fails with old Rack version
380
- c189b46 Fixing #2273 - file purging works more intuitively
381
- 138f19f Caching whether named autoloaded files are missing
382
- 415553e Adding caching of file metadata to the autoloader
383
- d489a2b Adding modulepath caching to the Autoloader
384
- 5f1c228 Adding caching to the Environment class
385
- 047ab78 Adding TTL support to attribute caching
386
- 6a413d2 Fixed #2666 - Broken docstring formatting
387
- 469604f Deprecating factsync - pluginsync should be used instead
388
- d39c485 Added spec and unit tests to the Rakefile files list and fixed CI rake tasks
389
- e1a7f84 Added install.rb to Rakefile package task
390
- e180a91 Fixed #2271 - Fix to puppetd documentation
391
- 4bf2980 Protecting Stomp client against internal failures
392
- f4cb8f3 Adding some usability bits to puppetqd
393
- a18298a Refactoring the stomp client and tests a bit
394
- 2771918 Relying on threads rather than sleeping for puppetqd
395
- 07ff4be Fixing #2250 - Missing templates throw a helpful error
396
- 7ce42da Fixing #2273 - CA location is set correctly in puppetca
397
- e1779c7 RackXMLRPC: buffer request contents in memory, as a real string.
398
- fb957cc Modules now can find their own paths
399
- c608409 Moving file-searching code out of Puppet::Module
400
- 83ba0e5 Fixing #2234 - fixing all of the tests broken by my bindaddress fix
401
- 4f3a67f Fixing #2221 - pluginsignore should work again
402
- 2d580c2 Fix snippets tests failing because of activated storeconfigs
403
- 8c718c9 Fix failing test: file.close! and file.path ordering fix
404
- 17f2c7d Confine stomp tests to Stomp enabled systems
405
- 6a80b76 Fix some master failing tests
406
- 172422f Fix bug #2124 - ssh_authorized_key always changes target if target is not defined
407
- f945b66 Fixing #2265 - rack is loaded with features rather than manually
408
- 5aef915 Added .git to pluginsignore default list of ignores
409
- 6db5e8d Cleanup of the Puppet Rakefile and removal of the requirement for the Reductive Build Library
410
- 5cc4910 Fix #1409 once again, including test
411
- a6af5bf Added split function
412
436
 
413
437
  0.25.0
414
438
  ======
@@ -614,9 +638,6 @@ a6816ff Set ENV['PATH'] to an empty string if non-existent
614
638
  603b9cf Change the diff default output to "unified"
615
639
  9bc9b5c Added missing colon to suntab
616
640
  0f2d70d Fixed #2087 and refactored the code that gets the smf service state
617
-
618
- 0.25.0beta2
619
- ===========
620
641
  3f070c1 Using the logging utilities to clean up module warnings
621
642
  feb7f89 Fixing #1064 - Deprecating module 'plugins' directories
622
643
  ccf4e69 Removing deprecated :pluginpath setting
@@ -749,6 +770,9 @@ f945b66 Fixing #2265 - rack is loaded with features rather than manually
749
770
  6db5e8d Cleanup of the Puppet Rakefile and removal of the requirement for the Reductive Build Library
750
771
  5cc4910 Fix #1409 once again, including test
751
772
  a6af5bf Added split function
773
+
774
+ 0.25.0beta1
775
+ ===========
752
776
  2dd55fc Fixing #2200 - puppetqd expects Daemon to be a class
753
777
  c016062 Removing unneeded test stubs
754
778
  1a2e1bc Fixing #2195 - the Server class handles bindaddress
data/Rakefile CHANGED
@@ -20,6 +20,7 @@ FILES = FileList[
20
20
  'man/**/*',
21
21
  'examples/**/*',
22
22
  'ext/**/*',
23
+ 'tasks/**/*',
23
24
  'test/**/*',
24
25
  'spec/**/*'
25
26
  ]
@@ -34,6 +35,7 @@ task :default do
34
35
  sh %{rake -T}
35
36
  end
36
37
 
38
+ desc "Create the tarball and the gem - use when releasing"
37
39
  task :puppetpackages => [:create_gem, :package]
38
40
 
39
41
  desc "Run the specs under spec/"
@@ -41,13 +43,14 @@ task :spec do
41
43
  require 'spec'
42
44
  require 'spec/rake/spectask'
43
45
  begin
44
- require 'rcov'
46
+ # require 'rcov'
45
47
  rescue LoadError
46
48
  end
47
49
 
48
50
  Spec::Rake::SpecTask.new do |t|
49
51
  t.spec_opts = ['--format','s', '--loadby','mtime']
50
52
  t.spec_files = FileList['spec/**/*.rb']
53
+ t.fail_on_error = false
51
54
  if defined?(Rcov)
52
55
  t.rcov = true
53
56
  t.rcov_opts = ['--exclude', 'spec/*,test/*,results/*,/usr/lib/*,/usr/local/lib/*']
@@ -9,4 +9,4 @@ PUPPETMASTER_PID_DIR="/var/run/puppet"
9
9
  #PUPPETMASTER_LOG="syslog"
10
10
 
11
11
  # You may specify other parameters to the puppetmaster here
12
- #PUPPETMASTER_EXTRA_OPTS="--noca"
12
+ #PUPPETMASTER_EXTRA_OPTS="--no-ca"
@@ -54,6 +54,17 @@ function install_puppet() {
54
54
  chown -R root:admin "${pkgroot}"
55
55
  }
56
56
 
57
+ function install_docs() {
58
+ echo "Installing docs to ${pkgroot}"
59
+ docdir="${pkgroot}/usr/share/doc/puppet"
60
+ mkdir -p "${docdir}"
61
+ for docfile in CHANGELOG CHANGELOG.old COPYING LICENSE README README.queueing README.rst; do
62
+ install -m 0644 "${puppet_root}/${docfile}" "${docdir}"
63
+ done
64
+ chown -R root:wheel "${docdir}"
65
+ chmod 0755 "${docdir}"
66
+ }
67
+
57
68
  function get_puppet_version() {
58
69
  puppet_version=$(RUBYLIB="${pkgroot}/${SITELIBDIR}:${RUBYLIB}" ruby -e "require 'puppet'; puts Puppet.version")
59
70
  }
@@ -156,6 +167,7 @@ function main() {
156
167
  fi
157
168
 
158
169
  install_puppet
170
+ install_docs
159
171
  get_puppet_version
160
172
 
161
173
  if [ ! "${puppet_version}" ]; then
@@ -11,6 +11,10 @@
11
11
  /bin/rm -Rf "${3}{SITELIBDIR}/puppet"
12
12
  /bin/rm -Rf "${3}{SITELIBDIR}/puppet.rb"
13
13
 
14
+ # remove old doc files
15
+
16
+ /bin/rm -Rf "${3}/usr/share/doc/puppet"
17
+
14
18
  # In puppet 0.24.x these executables lived in bindir, but in 0.25.x they
15
19
  # have been moved to sbindir. This cleans out old ones before installing.
16
20
  /bin/rm -Rf "${3}{BINDIR}/puppetca"
@@ -5,7 +5,7 @@
5
5
  %define confdir conf/redhat
6
6
 
7
7
  Name: puppet
8
- Version: 0.25.1
8
+ Version: 0.25.2
9
9
  Release: 1%{?dist}
10
10
  Summary: A network tool for managing many disparate systems
11
11
  License: GPLv2+
@@ -82,6 +82,9 @@ chmod +x ext/puppetstoredconfigclean.rb
82
82
  find examples/ -type f -empty | xargs rm
83
83
  find examples/ -type f | xargs chmod a-x
84
84
 
85
+ # puppet-queue.conf is more of an example, used for stompserver
86
+ mv conf/puppet-queue.conf examples/etc/puppet/
87
+
85
88
  %install
86
89
  rm -rf %{buildroot}
87
90
  ruby install.rb --destdir=%{buildroot} --quick --no-rdoc
@@ -96,6 +99,7 @@ install -Dp -m0644 %{confdir}/server.sysconfig %{buildroot}%{_sysconfdir}/syscon
96
99
  install -Dp -m0755 %{confdir}/server.init %{buildroot}%{_initrddir}/puppetmaster
97
100
  install -Dp -m0644 %{confdir}/fileserver.conf %{buildroot}%{_sysconfdir}/puppet/fileserver.conf
98
101
  install -Dp -m0644 %{confdir}/puppet.conf %{buildroot}%{_sysconfdir}/puppet/puppet.conf
102
+ install -Dp -m0644 conf/auth.conf %{buildroot}%{_sysconfdir}/puppet/auth.conf
99
103
  install -Dp -m0644 %{confdir}/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/puppet
100
104
 
101
105
  # We need something for these ghosted files, otherwise rpmbuild
@@ -123,7 +127,7 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
123
127
 
124
128
  %files
125
129
  %defattr(-, root, root, 0755)
126
- %doc CHANGELOG COPYING LICENSE README examples
130
+ %doc CHANGELOG COPYING LICENSE README README.queueing examples
127
131
  %{_bindir}/pi
128
132
  %{_bindir}/puppet
129
133
  %{_bindir}/ralsh
@@ -136,6 +140,7 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
136
140
  %dir %{_sysconfdir}/puppet
137
141
  %config(noreplace) %{_sysconfdir}/sysconfig/puppet
138
142
  %config(noreplace) %{_sysconfdir}/puppet/puppet.conf
143
+ %config(noreplace) %{_sysconfdir}/puppet/auth.conf
139
144
  %ghost %config(noreplace,missingok) %{_sysconfdir}/puppet/puppetca.conf
140
145
  %ghost %config(noreplace,missingok) %{_sysconfdir}/puppet/puppetd.conf
141
146
  %config(noreplace) %{_sysconfdir}/logrotate.d/puppet
@@ -169,6 +174,7 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
169
174
  %{_mandir}/man8/filebucket.8.gz
170
175
  %{_mandir}/man8/puppetmasterd.8.gz
171
176
  %{_mandir}/man8/puppetrun.8.gz
177
+ %{_mandir}/man8/puppetqd.8.gz
172
178
 
173
179
  # Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5),
174
180
  # and 471919 (RHEL-4)
@@ -214,6 +220,10 @@ fi
214
220
  rm -rf %{buildroot}
215
221
 
216
222
  %changelog
223
+ * Fri Jan 01 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1
224
+ - Update to 0.25.2
225
+ - Install auth.conf, puppetqd manpage, and queuing examples/docs
226
+
217
227
  * Tue Oct 20 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-1
218
228
  - Update to 0.25.1
219
229
  - Include the pi program and man page (R.I.Pienaar)