puppet 2.7.9 → 2.7.11

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 (187) hide show
  1. data/CHANGELOG +413 -0
  2. data/README_DEVELOPER.md +28 -0
  3. data/conf/redhat/puppet.spec +10 -1
  4. data/conf/solaris/pkginfo +1 -1
  5. data/conf/suse/puppet.spec +7 -4
  6. data/ext/envpuppet.bat +13 -0
  7. data/ext/rack/files/apache2.conf +4 -0
  8. data/install.rb +4 -8
  9. data/lib/puppet.rb +1 -1
  10. data/lib/puppet/agent.rb +7 -0
  11. data/lib/puppet/agent/disabler.rb +27 -0
  12. data/lib/puppet/agent/locker.rb +0 -10
  13. data/lib/puppet/application.rb +3 -0
  14. data/lib/puppet/application/agent.rb +13 -3
  15. data/lib/puppet/application/apply.rb +6 -6
  16. data/lib/puppet/application/cert.rb +5 -5
  17. data/lib/puppet/application/instrumentation_data.rb +4 -0
  18. data/lib/puppet/application/instrumentation_listener.rb +4 -0
  19. data/lib/puppet/application/instrumentation_probe.rb +4 -0
  20. data/lib/puppet/configurer.rb +3 -1
  21. data/lib/puppet/configurer/downloader.rb +4 -2
  22. data/lib/puppet/configurer/fact_handler.rb +0 -21
  23. data/lib/puppet/daemon.rb +3 -4
  24. data/lib/puppet/defaults.rb +2 -2
  25. data/lib/puppet/face/instrumentation_data.rb +28 -0
  26. data/lib/puppet/face/instrumentation_listener.rb +96 -0
  27. data/lib/puppet/face/instrumentation_probe.rb +77 -0
  28. data/lib/puppet/face/module/list.rb +64 -0
  29. data/lib/puppet/face/module/uninstall.rb +50 -0
  30. data/lib/puppet/face/node/clean.rb +1 -4
  31. data/lib/puppet/feature/base.rb +1 -0
  32. data/lib/puppet/file_serving/content.rb +1 -1
  33. data/lib/puppet/indirector/facts/facter.rb +20 -7
  34. data/lib/puppet/indirector/facts/inventory_active_record.rb +14 -11
  35. data/lib/puppet/indirector/indirection.rb +7 -0
  36. data/lib/puppet/indirector/instrumentation_data.rb +3 -0
  37. data/lib/puppet/indirector/instrumentation_data/local.rb +19 -0
  38. data/lib/puppet/indirector/instrumentation_data/rest.rb +5 -0
  39. data/lib/puppet/indirector/instrumentation_listener.rb +3 -0
  40. data/lib/puppet/indirector/instrumentation_listener/local.rb +23 -0
  41. data/lib/puppet/indirector/instrumentation_listener/rest.rb +5 -0
  42. data/lib/puppet/indirector/instrumentation_probe.rb +3 -0
  43. data/lib/puppet/indirector/instrumentation_probe/local.rb +24 -0
  44. data/lib/puppet/indirector/instrumentation_probe/rest.rb +5 -0
  45. data/lib/puppet/indirector/rest.rb +1 -1
  46. data/lib/puppet/module.rb +13 -17
  47. data/lib/puppet/module_tool/applications.rb +1 -0
  48. data/lib/puppet/module_tool/applications/uninstaller.rb +33 -0
  49. data/lib/puppet/module_tool/contents_description.rb +1 -1
  50. data/lib/puppet/network/server.rb +2 -3
  51. data/lib/puppet/node/environment.rb +16 -3
  52. data/lib/puppet/parser/ast/leaf.rb +1 -1
  53. data/lib/puppet/parser/functions/create_resources.rb +1 -1
  54. data/lib/puppet/parser/type_loader.rb +1 -1
  55. data/lib/puppet/property.rb +46 -14
  56. data/lib/puppet/provider.rb +13 -4
  57. data/lib/puppet/provider/augeas/augeas.rb +6 -4
  58. data/lib/puppet/provider/group/pw.rb +24 -10
  59. data/lib/puppet/provider/nameservice/directoryservice.rb +146 -37
  60. data/lib/puppet/provider/package/pip.rb +1 -1
  61. data/lib/puppet/provider/package/yum.rb +1 -2
  62. data/lib/puppet/provider/service/debian.rb +14 -0
  63. data/lib/puppet/provider/service/launchd.rb +1 -1
  64. data/lib/puppet/provider/service/smf.rb +2 -2
  65. data/lib/puppet/provider/user/pw.rb +56 -2
  66. data/lib/puppet/provider/user/user_role_add.rb +32 -22
  67. data/lib/puppet/provider/user/windows_adsi.rb +1 -0
  68. data/lib/puppet/rails/benchmark.rb +1 -1
  69. data/lib/puppet/reports/store.rb +8 -1
  70. data/lib/puppet/resource/catalog.rb +5 -1
  71. data/lib/puppet/simple_graph.rb +11 -14
  72. data/lib/puppet/transaction.rb +10 -4
  73. data/lib/puppet/transaction/report.rb +9 -3
  74. data/lib/puppet/type.rb +19 -7
  75. data/lib/puppet/type/exec.rb +1 -1
  76. data/lib/puppet/type/file.rb +4 -1
  77. data/lib/puppet/type/file/ensure.rb +5 -1
  78. data/lib/puppet/type/file/mode.rb +45 -10
  79. data/lib/puppet/type/file/source.rb +4 -0
  80. data/lib/puppet/type/host.rb +17 -3
  81. data/lib/puppet/type/k5login.rb +3 -2
  82. data/lib/puppet/type/schedule.rb +3 -2
  83. data/lib/puppet/util.rb +83 -27
  84. data/lib/puppet/util/anonymous_filelock.rb +36 -0
  85. data/lib/puppet/util/docs.rb +18 -2
  86. data/lib/puppet/util/instrumentation.rb +173 -0
  87. data/lib/puppet/util/instrumentation/data.rb +34 -0
  88. data/lib/puppet/util/instrumentation/indirection_probe.rb +29 -0
  89. data/lib/puppet/util/instrumentation/instrumentable.rb +143 -0
  90. data/lib/puppet/util/instrumentation/listener.rb +60 -0
  91. data/lib/puppet/util/instrumentation/listeners/log.rb +29 -0
  92. data/lib/puppet/util/instrumentation/listeners/performance.rb +30 -0
  93. data/lib/puppet/util/monkey_patches.rb +8 -0
  94. data/lib/puppet/util/pidlock.rb +21 -25
  95. data/lib/puppet/util/rdoc/parser.rb +2 -2
  96. data/lib/puppet/util/reference.rb +8 -23
  97. data/lib/puppet/util/retryaction.rb +48 -0
  98. data/lib/puppet/util/suidmanager.rb +70 -39
  99. data/lib/puppet/util/symbolic_file_mode.rb +140 -0
  100. data/spec/integration/configurer_spec.rb +5 -0
  101. data/spec/integration/indirector/direct_file_server_spec.rb +1 -1
  102. data/spec/integration/indirector/file_content/file_server_spec.rb +7 -7
  103. data/spec/integration/provider/package_spec.rb +7 -0
  104. data/spec/unit/agent/disabler_spec.rb +60 -0
  105. data/spec/unit/agent/locker_spec.rb +0 -12
  106. data/spec/unit/agent_spec.rb +8 -0
  107. data/spec/unit/application/agent_spec.rb +38 -1
  108. data/spec/unit/application/apply_spec.rb +34 -40
  109. data/spec/unit/application/cert_spec.rb +1 -1
  110. data/spec/unit/application_spec.rb +6 -0
  111. data/spec/unit/configurer/downloader_spec.rb +29 -10
  112. data/spec/unit/configurer/fact_handler_spec.rb +5 -29
  113. data/spec/unit/configurer_spec.rb +8 -8
  114. data/spec/unit/daemon_spec.rb +12 -26
  115. data/spec/unit/face/instrumentation_data.rb +7 -0
  116. data/spec/unit/face/instrumentation_listener.rb +38 -0
  117. data/spec/unit/face/instrumentation_probe.rb +21 -0
  118. data/spec/unit/face/node_spec.rb +111 -111
  119. data/spec/unit/file_serving/content_spec.rb +2 -2
  120. data/spec/unit/indirector/facts/facter_spec.rb +25 -3
  121. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +14 -4
  122. data/spec/unit/indirector/instrumentation_data/local_spec.rb +52 -0
  123. data/spec/unit/indirector/instrumentation_data/rest_spec.rb +11 -0
  124. data/spec/unit/indirector/instrumentation_listener/local_spec.rb +65 -0
  125. data/spec/unit/indirector/instrumentation_listener/rest_spec.rb +11 -0
  126. data/spec/unit/indirector/instrumentation_probe/local_spec.rb +65 -0
  127. data/spec/unit/indirector/instrumentation_probe/rest_spec.rb +11 -0
  128. data/spec/unit/module_spec.rb +39 -125
  129. data/spec/unit/module_tool/uninstaller_spec.rb +44 -0
  130. data/spec/unit/network/server_spec.rb +2 -20
  131. data/spec/unit/node/environment_spec.rb +76 -58
  132. data/spec/unit/parser/ast/asthash_spec.rb +1 -2
  133. data/spec/unit/parser/ast/leaf_spec.rb +16 -0
  134. data/spec/unit/property/keyvalue_spec.rb +5 -2
  135. data/spec/unit/property_spec.rb +260 -159
  136. data/spec/unit/provider/augeas/augeas_spec.rb +2 -2
  137. data/spec/unit/provider/group/pw_spec.rb +81 -0
  138. data/spec/unit/provider/nameservice/directoryservice_spec.rb +102 -0
  139. data/spec/unit/provider/package/pip_spec.rb +7 -0
  140. data/spec/unit/provider/package/yum_spec.rb +45 -1
  141. data/spec/unit/provider/service/debian_spec.rb +15 -0
  142. data/spec/unit/provider/service/launchd_spec.rb +48 -43
  143. data/spec/unit/provider/service/smf_spec.rb +3 -3
  144. data/spec/unit/provider/user/pw_spec.rb +183 -0
  145. data/spec/unit/provider/user/user_role_add_spec.rb +46 -39
  146. data/spec/unit/provider/user/windows_adsi_spec.rb +1 -0
  147. data/spec/unit/provider_spec.rb +32 -0
  148. data/spec/unit/reports/store_spec.rb +19 -1
  149. data/spec/unit/simple_graph_spec.rb +34 -19
  150. data/spec/unit/ssl/certificate_factory_spec.rb +3 -3
  151. data/spec/unit/transaction/report_spec.rb +29 -1
  152. data/spec/unit/transaction_spec.rb +32 -46
  153. data/spec/unit/type/file/mode_spec.rb +1 -1
  154. data/spec/unit/type/file/source_spec.rb +28 -3
  155. data/spec/unit/type/file_spec.rb +17 -16
  156. data/spec/unit/type/host_spec.rb +527 -0
  157. data/spec/unit/type/k5login_spec.rb +115 -0
  158. data/spec/unit/type/schedule_spec.rb +6 -6
  159. data/spec/unit/type_spec.rb +51 -0
  160. data/spec/unit/util/anonymous_filelock_spec.rb +78 -0
  161. data/spec/unit/util/execution_stub_spec.rb +2 -1
  162. data/spec/unit/util/instrumentation/data_spec.rb +44 -0
  163. data/spec/unit/util/instrumentation/indirection_probe_spec.rb +19 -0
  164. data/spec/unit/util/instrumentation/instrumentable_spec.rb +186 -0
  165. data/spec/unit/util/instrumentation/listener_spec.rb +100 -0
  166. data/spec/unit/util/instrumentation/listeners/log_spec.rb +34 -0
  167. data/spec/unit/util/instrumentation/listeners/performance_spec.rb +36 -0
  168. data/spec/unit/util/instrumentation_spec.rb +181 -0
  169. data/spec/unit/util/pidlock_spec.rb +208 -0
  170. data/spec/unit/util/rdoc/parser_spec.rb +1 -1
  171. data/spec/unit/util/reference_spec.rb +16 -6
  172. data/spec/unit/util/retryaction_spec.rb +62 -0
  173. data/spec/unit/util/suidmanager_spec.rb +101 -83
  174. data/spec/unit/util/symbolic_file_mode_spec.rb +182 -0
  175. data/spec/unit/util_spec.rb +126 -0
  176. data/tasks/rake/apple.rake +176 -0
  177. data/tasks/rake/templates/prototype.plist.erb +38 -0
  178. metadata +61 -13
  179. data/lib/puppet/application/module.rb +0 -3
  180. data/lib/puppet/face/module.rb +0 -12
  181. data/spec/unit/face/module/build_spec.rb +0 -30
  182. data/spec/unit/face/module/changes_spec.rb +0 -30
  183. data/spec/unit/face/module/clean_spec.rb +0 -30
  184. data/spec/unit/face/module/generate_spec.rb +0 -30
  185. data/spec/unit/face/module/install_spec.rb +0 -75
  186. data/spec/unit/face/module/search_spec.rb +0 -40
  187. data/test/util/pidlock.rb +0 -126
data/CHANGELOG CHANGED
@@ -1,3 +1,384 @@
1
+ 2.7.11
2
+ ===
3
+ 01b57e9 (#12188) Better handling of PID file cleanup warnings.
4
+ a8b6088 (#12572) Add acceptance test to make sure no last_run_summary diff is printed
5
+ 40480ed (#12572) Revert fix for #7106 and implement a more minimal fix
6
+ 0486462 (#12412) Mark symbolic file modes test as pending on Windows
7
+ 115ba71 Symbolic file mode test fixes when no mode change happens.
8
+ dde3945 Disable specs that use replace_file on Windows
9
+ 4272d1f Disable replace_file on Windows
10
+ 4bcbad4 Remove unnecessary fallbacks in change_{user,group}
11
+ ff372fb Document uid/gid-related methods in Puppet::Util
12
+ 5f8f3ba Copy owner/group in replace_file
13
+ f0c9995 (#12463) eliminate `secure_open` in favour of `replace_file`
14
+ 0c96703 (#12460) use `replace_file` for the .k5login file
15
+ 7900a66 (#12462) user_role_add: use `replace_file` for /etc/shadow
16
+ f9f9961 (#12463) add secure `replace_file` to Puppet::Util
17
+ db0f872 (#12459) drop supplementary groups when permanently dropping UID
18
+ 7f26d28 (#12458) default to users primary group, not root, in `asuser`
19
+ a96babf (#12457) add users primary group, not Process.gid, in initgroups
20
+ 2f21546 Restore compatible `insync?` behaviour for matching arrays.
21
+ 6ffe25b Fix bugs around the finer-grained insync? protocol.
22
+ 133b739 Add unit tests for the `insysc?` method of a property.
23
+ 908bfbd Property Spec cleanup: eliminate stubbing of resource and provider.
24
+ 0d95eb7 Property Spec cleanup: last let method extraction.
25
+ 5394413 Property Spec cleanup: extract more let methods.
26
+ f919e17 Property Spec cleanup: remove unused instance variable.
27
+ 7bb261b Property Spec cleanup: remove some pointless extra stubs.
28
+ e81f02c Property Spec cleanup: extract property instance to a let method.
29
+ 4fc4dd4 Property Spec cleanup: extract mock resource to let method.
30
+ 9083fc6 Property Spec cleanup: extract mock provider to let method.
31
+ 25d7c99 Property Spec cleanup: extract new subclass to let method.
32
+ 3638651 (#2927) Acceptance test for symbolic file modes.
33
+ daa247e (#12296) Acceptance test for cycle detection in graphs.
34
+ 1f0f40e Use natural ordering of Puppet::Provider.
35
+ 3c1604a Make `Puppet::Provider` ordered.
36
+ 50dc35d (#12296) Now that `Puppet::Type` is ordered, use that.
37
+ 9962ac0 (#12296) Make `Puppet::Type` ordered.
38
+ b28d4ce (#12296) Test cycle detection on real Puppet::Type instances.
39
+ 103a554 (#12310) Remove process_name instrumentation listener
40
+ f11ee44 (#12464) Avoid unnecessarily reloading facts when node_name_fact is not set
41
+
42
+ 2.7.10
43
+ ===
44
+ e31369a (#6541) Use the same filebucket for backup and restore
45
+ 0d8a22a (#11767) No longer necessary to delete ssl directory in each test
46
+ e1828ba Updated CHANGELOG for 2.7.10rc1
47
+ 8da947f (#11996) Fix file content test after hash changes.
48
+ 884fe75 (#11996) Fix file server recursion test after hash changes.
49
+ 3fb0938 (#11996) Fix graph cycle reporting order after hash changes.
50
+ a758066 (#11996) Fix test failures due to hash processing order changes.
51
+ d6d6e60 (#11600) Remove module face
52
+ 1847228 (#11499) Better validation for IPv4 and IPv6 address in host type.
53
+ a406a2e (#11802) Fix module list specs on Windows
54
+ 13238af (#11803) Fix broken tests for uninstall action on module face
55
+ 7fdd8a1 (#11888) Revert 483a1d9 for 2.7.x only
56
+ 97fffa8 (#11803) Add uninstall action for the module face
57
+ 2d4af0e (#11958) Improve error msg for missing pip command
58
+ 032043e (#11046) Add support for user expiry in pw user provider
59
+ 9b8829d (#11046) Improve pw group provider on FreeBSD
60
+ fb111ef (#10962) Make sure managehome is respected on FreeBSD
61
+ 884381f (#11318) Add password management on FreeBSD
62
+ acd2f91 (Maint) Fix time-dependent certificate factory test failures
63
+ 69dfb34 (#5246) Fix spec test expectations in 2.7.x branch
64
+ cd56926 (#11802) Add module list action
65
+ fecf5d6 (#11803) Add modules_by_path method to environments
66
+ dad8697 (#11802) Make Puppet::Module able to find module in specific path
67
+ 520ac07 maint: Cleanup environment_spec
68
+ b27f3cc maint: Fix Puppet::Node::Environment::Helper specs
69
+ dfa539a maint: Remove unused method requires
70
+ b967da2 maint: Remove Module.modulepath
71
+ e1f2f37 (#11929) Always serve files in binary mode
72
+ 24f2a65 (#2927) Support symbolic file modes.
73
+ 48726b6 Finer-grained protocol for property `insync?`.
74
+ d3a33af Whitespace damage cleanup on property.rb
75
+ c58bfbc (#8341) Only load facts once per puppet run
76
+ 2b0d3b8 (#3419) Fix OS X Ruby supplementary group handling
77
+ 2ca9f9d (#11888) Switch up2date,systemd,redhat providers to osfamily fact
78
+ e0e31d5 (#5246) Puppetd does not remove it's pidfile when it exits
79
+ 90bdef6 (#4855) Fix group resource in OS X
80
+ 6c14a28 Build a Rake task for building Apple Packages
81
+ d5bef5e (#2773) Use launchctl load -w in launchd provider
82
+ 5accc69 (#11714) Use `%~dp0` to resolve bat file's install directory
83
+ c865a80 Clean up launchd spec tests
84
+ 24af732 (#11714) Add envpuppet batch file to run Puppet from source on Windows
85
+ 7edaed5 (#11847) Don't hard code ruby install paths in Windows batch files
86
+ 1978f52 Match old slightly different version of "hostname was not match"
87
+ ed9da67 Fixed #11844 - Typo in exec documentation
88
+ 0ab4597 (#11764) Fix failing cron test
89
+ 0f0aa1e Fixup two space merge conflict from 2.7.x => master
90
+ d092860 Retry inventory ActiveRecord transaction failure
91
+ a966eb3 (#11717) Set password before creating user on Windows
92
+ 018f36d (#11293) Add password get/set behavior for 10.7
93
+ 073ca03 (#11764) Fix cron jobs for passing block to method
94
+ 4807c6d (#11740) Disable failing test on Windows
95
+ c751e01 Revert "Access user password hash in OS X 10.7"
96
+ 11b8c5a Access user password hash in OS X 10.7
97
+ 1e4bc59 (#11741) Use dns_alt_names instead of certdnsnames in acceptance tests
98
+ ca73283 (#11641) Properly track blockers when generating additional resources
99
+ 31eef75 (#7296) Make the Debian service provider handle services that don't conform to the debain policy manual.
100
+ 0ffe1ac (#4836) - Agent --disable should allow to put a message
101
+ 7777d91 (#3757) - Refactor enable/disable to its own module
102
+ b434e3b (#3757) - Move enable/disable to its own lock
103
+ f7c2ea4 Fix failing tests with ruby 1.9.2 in the instrumentation framework
104
+ b2411b6 Use all lower-case file name for Puppet::Util::Instrumentation::Instrumentable
105
+ c560f71 Maint: Fix typo in usage example for create_resources function
106
+ 751ef88 Set of faces to manage instrumentation listeners, data and probes
107
+ 493a1b7 Example probes for the indirector
108
+ fc43694 Add probe indirection for probe management
109
+ 2bf6105 Process name instrumentation listener
110
+ 6c138d7 Add the 'performance' instrumentation listener
111
+ 782f341 Add the example 'log' listener
112
+ ff36deb Add a way to add probe to puppet code
113
+ 6b7fcf6 Add indirection (REST usable) to manipulate instrumentation
114
+ b743b4d Instrumentation foundation layer
115
+ b1af29b (#8119) Write reports to a temporary file and move them into place
116
+ 735acad (#11414) Test Augeas versions correctly with versioncmp
117
+ 3239ab3 (#11414) Save/execute changes on versions of Augeas < 0.3.6
118
+ 8ec6086 Account for Windows file mode translation for lastrunfile
119
+ b28cac8 (#7106) Obey specified owner, group, and permissions for last run summary file
120
+ b8c5ee2 (#11408) Fix fact and plugin sync on Windows
121
+ d4d3cb3 (#10586) Don't copy owner and group when sourcing files from master
122
+ 1519d30 (#7428) Fix option parsing for ruby 1.9 in cert application
123
+ 213cecc Revert "(#11423) Clearer error message about duplicate imported resources."
124
+ e8e1f57 (#11423) Clearer error message about duplicate imported resources.
125
+ ff396bf Maint: Fix redhatfedorasusecentosslesoelovm in type reference
126
+ 6682fe7 Maint: Padding should be added when dochook strings are consumed, not hardcoded into them
127
+ b569c7e (#11404) Fix broken and unreliable indentation in provider lists in type reference
128
+ c15d997 Maint: Make indentation for markdown definition lists more readable and reliable
129
+ e80ca2d (#11404) Move markdown_header and markdown_definitionlist to Puppet::Util::Docs
130
+ 471fb58 (#11333) Make Puppet::Type.ensurable? false when exists? is undefined
131
+ 31cef94 Add config and puppet version to the last run summary file
132
+ f71af6f (#10676) Include all resource statuses in reports regardless of count
133
+ 2be44d4 (#8062) Consider package epoch version when comparing yum package versions
134
+ e9a5116 (#6412) Return :undef when accessing non-existing hash/array elements
135
+ fc3f8b9 Updated CHANGELOG for 2.6.13
136
+ cbd78da (#4865) Log when we start evaluating resources at the info level
137
+ e8f1407 maint: Add tap to fix Ruby 1.8.5 failures
138
+ ddde61e (#10321) Fix array support in schedule's range parameter
139
+ 87f6f05 Update CHANGELOG for 2.7.9 release
140
+ da11dc7 Fix Ruby 1.8.5-incompatible code in FileBucket::Dipper spec
141
+ 737c2f6 Fix Ruby 1.8.5-incompatible code in Transaction#eval_generate
142
+ 042925d Fix Ruby 1.8.5-incompatible code in spec setup
143
+ 0022f47 Revert "Build a Rake task for building Apple Packages"
144
+ 3265b2c Updating CHANGELOG for 2.7.8 release
145
+ 8d83c4e (maint) Fix grammar mistakes in README_DEVELOPER
146
+ 8cca377 Build a Rake task for building Apple Packages
147
+ 4275fd4 (#11291) Update description of show_diff setting to match behavior as of 2.7.8
148
+ 901a6b2 (#11291) Update description of show_diff setting to match behavior as of 2.7.8
149
+ 84fdf6f (#10109) Make resourcefile work with composite namevars
150
+ 15f7a1c (#11246) Add README_DEVELOPER describing UTF-8 in Puppet
151
+ 1e8e34b (#11276) Fix module install specs that fail on windows
152
+ c78d17e (#7110) Better SSL error message certificate doesn't match key
153
+ 00c76f6 (#11276) Mark module tool tests as failing on Windows
154
+ 599a146 (#11273) Updates init.pp.erb for style guide.
155
+ 80e5d03 (#11198) Modulefiles should have a default license
156
+ eec7495 (#11246) Fix UTF-8 String#to_yaml exception
157
+ a01aab2 (#11246) Add UTF-8 String#to_yaml spec tests
158
+ a89fe49 (#9768) Add a defaults argument to create_resources
159
+ eb7be18 (#6830) Fix create_resources spec for ruby 1.9
160
+ b2cfe28 (#7656) Rename module_tool face to module
161
+ c658e72 (#7656) Add details about module testing to templates
162
+ 61d894e Merge pull request #61 from jblaine/patch-1
163
+ 62f89c4 (#7656) Use core Puppet semver.rb lib
164
+ e2a9ab9 (#7656) Replace SystemExit with better exceptions
165
+ 5bc5c50 (#7656) Remove redundant uri module
166
+ 22ac5b6 (#7656) Encourage documenting license, and contact
167
+ e9538af (#7656) Cleanup repository_spec tests
168
+ c79f157 (#7656) Update comment string in the metadata module
169
+ 7a45cc7 (#7656) Rename `Modulefile` to `ModulefileReader`
170
+ f463d90 (#7656) Rename full_name to full_module_name
171
+ 0843c9e (#7656) Removed spec.opts template
172
+ 47e7b60 (#7656) Use rspec 2.x in generator templates
173
+ 5a8dc51 (#7656) Rename contact to make_http_request
174
+ 90b1fcd (#7656) Use a Puppet setting for default module repo
175
+ a44aef9 (#7656) Use Metadata fully qualified module name
176
+ 27d26ae (#7656) Show the default install-dir in help output
177
+ 24557b9 (#7656) Code cleanup for the generate action
178
+ bad0112 (#7656) Show the format of the status hash for build
179
+ 6d0e88a (#7656) Add output to action examples
180
+ 5220af5 (#7656) Fix inaccurate comment in the build action
181
+ f33c2e4 (#7656) Refactor the module face build action
182
+ 62b59c1 (#7656) Bump module face to version 1.0.0
183
+ feeecc4 (#7656) Remove unnecessary require of puppet/face
184
+ e45f5a7 Fix the targets in autorequire tests to use expand_path
185
+ b22df54 Fix tests for autorequiring links to work on windows
186
+ 0200629 Fix arity of blocks to validate for file properties
187
+ 94e9863 (#7004) Correctly form singular for indirections ending in 'es'
188
+ 6641938 Updating CHANGELOG for 2.6.13rc1
189
+ db962a5 (#5421) Link should autorequire target
190
+ bdeb3b7 (#7656) Add search action to module_tool face
191
+ 41d1034 (#7656) Add install action to module_tool face
192
+ 6d2fc99 (#7656) Add generate action to module_tool face
193
+ 626d876 (#7656) Add clean action to module_tool face
194
+ 5e77157 (#7656) Add changes action to module_tool face
195
+ da4a236 (#7656) Add build action to module_tool face
196
+ 7df5303 (#7656) Port PMT to faces, bundle in Puppet core
197
+ bf9e847 (#7656) Port PMT integration test into Puppet core
198
+ bce8e43 (#7656) Port PMT unit test into Puppet core
199
+ ee4dbf4 (#7656) Port PMT test fixtures into Puppet core
200
+ eb617e5 (#7656) Add new PMT settings to core Puppet
201
+ ce218ef (#7656) Port PMT generator templates into core
202
+ 0c61186 (#7656) Port PMT codebase into Puppet core
203
+ bb5386c Updated CHANGELOG for 2.7.8rc1
204
+ 3eff60a Readying for 2.7.8rc release
205
+ e4ee794 (#10739) Provide default subjectAltNames while bootstrapping master
206
+ 2dedee6 (#2744) Don't automatically enable show_diff in noop mode
207
+ ef78358 Give variables more descriptive names
208
+ cd3d4ea maint: Rename xgenerate to add_dynamically_generated_resources
209
+ 000a2d8 (#6907) Prefetch unsuitable providers
210
+ 70114e9 (#6907) Allow providers to be selected in the run they become suitable
211
+ a0ee5c7 maint: Fix incorrect whitespace
212
+ 4e8a73c Fix description in service provider test for FreeBSD
213
+ a2eab4f (#6697) Set service provider default path to /etc/rc.d on Archlinux
214
+ da75795 (#6335) Allow optional trailing comma in argument lists.
215
+ 05b3cac (#10940) Deprecate `--apply` in favor of `--catalog`
216
+ 47c786e Update CHANGELOG and packaging for 2.7.7 final
217
+ 8030428 (#8255) Always use string modes when creating resources from FileSetting settings
218
+ c804346 (#7274) Output 4-digit file modes in File type
219
+ 220f2ba (#10799) Regexp escaping too much
220
+ 4462eb5 Merged 2.6.x into 2.7x
221
+ 67e048b Updated CHANGELOG for 2.7.7rc2
222
+ 93aca5a maint: Fix failing specs for Windows exec provider
223
+ 4f1f7e4 (#10807) Use SMF's svcadm -s option to wait for errors
224
+ 3ab4d63 Fix #10066 - when fingerprinting, agent should not daemonize
225
+ 7f3a1bb (#9617) Use an RbTreeMap to store ready resources
226
+ 9eff0f4 (#9671) Implement RbTreeMap#each recursively, and #first/#last explicitly
227
+ 5f7f467 (#9671) Return nodes from internal RbTreeMap recursion
228
+ 1dc9c72 (#9671) Stop tracking size and height of nodes in RbTreeMap
229
+ f180f9b (#9617) Add a red-black tree map
230
+ c62e949 (#9617) Keep track of blockers for resources when traversing
231
+ 2cb6d72 (#9671) Generated resources should not depend on the completed_ whit
232
+ a5845b7 (#9671) Exit early from #eval_generate if nothing is created
233
+ 7002eff (#9617) Be smarter about finding parents when eval_generating
234
+ 11fda78 maint: Don't File#expand_path when unmunging file paths
235
+ ad4316a (#9671) Use Array#concat rather than +=
236
+ 20260f3 maint: Correct the spelling of sentinel
237
+ 4d9e0c0 Added missing RequestHeader entries to ext/rack/files/apache2.conf
238
+ 4f03384 (#10614) Detect when trying to managing ACLs on a non-ACL volume
239
+ 37b9f0f (#10614) Provide default metadata values for Windows ACLs
240
+ 1cb37c9 (#10614) Add method for detecting Windows volumes that support ACLs
241
+ c9ee5a0 (#10614) Fix setting and clearing read-only attribute on Windows
242
+ ed27a90 (#10614) Fix error checking for Windows BOOL return values
243
+ 7f0756d (#10727) Don't rely on Kernel#Pathname
244
+ 23379d0 (#10614) Detect when trying to managing ACLs on a non-ACL volume
245
+ 374fee5 (#10614) Provide default metadata values for Windows ACLs
246
+ f60e889 (#10614) Add method for detecting Windows volumes that support ACLs
247
+ 1371dbd (#10614) Fix setting and clearing read-only attribute on Windows
248
+ a6996ba (#4865) Debug logging when we start evaluating resources.
249
+ 7eb0197 (#10614) Fix error checking for Windows BOOL return values
250
+ cd2d2f1 (#9158) Support old and new versions of STOMP gem.
251
+ 9dfd011 (#5617) Puppet queue logging
252
+ 0a34697 (#2744) Display file diffs through the Puppet log system.
253
+ 0c28238 (#9508) Be explicit is setting `auth any` for default ACLs.
254
+ f140eca Updated CHANGELOG for 2.7.7rc1
255
+ 057cda6 (#9508) Default ACL of `auth any` makes sense where we had `auth no`
256
+ 78670ed (#9983) Checksum file in binary mode when storing to filebucket
257
+ da11a78 (#9983) Serve file content in binary mode
258
+ 13f1054 (#9983) Read file content from disk using binary mode
259
+ 4b4bb8b (#9983) Use binary mode when reading and writing FileBucketFiles
260
+ 899833b (#9983) Read file content in binary mode when backing up
261
+ dc8bcf8 (#9983) Restore files in binary mode
262
+ 489a679 (#9983) Checksum files in binary mode
263
+ f7bfa05 (#9983) Add method for reading binary files
264
+ 674068a (#10269) Make directories executable so they can be cleaned up
265
+ fd747cc (#10365) Add pending test when file overwrites an executable directory
266
+ fe30d8f (#10315) Add pending tests when following symlinks
267
+ a22c7aa Maint: Fix test breakage
268
+ 8576e86 (#10269) Search bit not set on newly created directories
269
+ a91cfa1 maint: Fix failing spec on old version of rspec
270
+ 428e08c Stub File.open to not touch the disk
271
+ aa2a762 (#10289) Add an ext script to upload facts to inventory server
272
+ a97337f (#10346) Fix storeconfigs spec failures when run alone
273
+ 5129d38 (#10289) Add a safe alternative to REST for inventory service
274
+ 5c4daa4 (#7601) Use definition lists in indirection references
275
+ 7df46a2 (#7601) Use definition lists in type references
276
+ ad97dc9 (#7601) Add markdown_definitionlist method to reference.rb
277
+ 455c9aa Maint: Revise reference text for most types and providers
278
+ ced8e19 (#7601) Remove unnecessarily abstracted paramwrap method
279
+ a6957ac (#7601) Rename "h" method to "markdown_header"
280
+ 7a0ade6 (#7601) Use << instead of += in references
281
+ 7d65796 (#9109) Retrieve request parameters from the request body for POSTs
282
+ 5a2952c (maint) Fix CA-related specs failing on Windows
283
+ 42fb76e Fix typo in report debug message
284
+ 65086c4 (#9544) Stub command in package spec that needs root priviledges
285
+ eab5965 missing includes in network XML-RPC handlers
286
+ 7514d32 missing includes in network XML-RPC handlers
287
+ 614526a (#10244) Restore Mongrel XMLRPC functionality
288
+ 397a506 (#10244) Restore Mongrel XMLRPC functionality
289
+ fcaf7c5 Updated CHANGELOG for 2.6.12
290
+ f51d221 Improve the error message when a CSR is rejected
291
+ d551747 Allow a master to bootstrap itself with dns_alt_names and autosign
292
+ 0405196 (maint) Remove ssl dir before starting a master with DNS alt names
293
+ 3ed6499 Backport Enumerable#count to Rubies < 1.8.7
294
+ 5f44c23 More 1.8.5 compatibility fixes.
295
+ ef1b960 Better 1.8.5 compatible implementation of `lines`.
296
+ 246e875 (#2848) Config options require '_', not '-'.
297
+ 3bdeb3a Ruby 1.8.5 compatibility changes in tests and code.
298
+ 6866d4b Add `lines` alias for `each_line` in Ruby 1.8.5.
299
+ 2f9ec3c s/not_to/should_not/ for older versions of RSpec 2.
300
+ 56320ea (#2848) Eliminate redundant `master_dns_alt_names`.
301
+ de19861 (#2848) Remove the legacy SSLCertificates code
302
+ cf008a6 (#2848) Rework the xmlrpc CA handler to use the modern SSL code
303
+ 32be180 (#2848) Remove unused xmlrpc code
304
+ 5f2a44d (#2848) Consistent return values from `subject_alt_names` accessors.
305
+ 5e507f2 (#2848) Consistently use `subject_alt_names` as accessor name.
306
+ 5ac2417 (#2848) Don't strip the subjectAltName label when listing.
307
+ 44cf3a2 (#2848) Don't enable `emailProtection` for server keys.
308
+ d66def9 (#2848) Only mark `subjectAltName` critical if `subject` is empty.
309
+ 8174047 (#2848) Migrate `dns-alt-names` back to settings.
310
+ f18df2b Wire up the `setbycli` slot in Puppet settings.
311
+ efa61f2 (#2848) rename subject-alt-name option to dns-alt-names
312
+ f103b20 (#2848) Rename `certdnsnames` to match new behaviour.
313
+ 363b47b (#2848) Use `certdnsnames` when bootstrapping a local master.
314
+ 49334ff (#2848) CSR subjectAltNames handling while signing.
315
+ 5f2af93 (#2848) List subject alt names in output of puppet cert --list
316
+ bb475ec (#7224) Add a helper to Puppet::SSL::Certificate to retrieve alternate names
317
+ bab9310 (#2848) Rewrite SSL Certificate Factory, fixing `subjectAltName` leak.
318
+ fca1ff0 (#2848) Reject unknown (== all) extensions on the CSR.
319
+ 443a756 (#2848) extract the subjectAltName value from the CSR.
320
+ 66101f1 (#2848) Set `certdnsnames` values into the CSR.
321
+ 77b814f (#6928) Don't blow up when the method is undefined...
322
+ 5427f1e (#6928) backport Symbol#to_proc for Ruby < 1.8.7
323
+ 6ef1d3a (#6371) Update lastchg field in shadow file on Solaris.
324
+ c343615 (#10161) Parenthesize method arguments
325
+ 1912c19 (#8547) Update storeconfigclean script to read puppet.conf
326
+ 5721ab9 Maint: Remove duplicate path extension code
327
+ edc721e (#9636) Always set $CHILD_STATUS when executing on Windows
328
+ 448d5db (#9636) Fix PATHEXT resolution for paths other than system32
329
+ 424379d (#9996) Restore functionality for multi-line commands in exec resources
330
+ ad98d47 (#9831) Standardize Windows provider confining
331
+ 0366789 (#9997) Add mysql2 gem support
332
+ cf8fae2 (#9832) General StoreConfigs regression.
333
+ 1e8a2cd (#9607) Only validate package source when it is set or needed
334
+ 0258096 (#9461) Resolve executables using PATHEXT on Windows
335
+ d78afda (#9938) Allow directory sticky-ness to be set
336
+ 23b4864 Maint: Document tag metaparameter's ability to take an array
337
+ b3c0f1d Stub method for getting roles from the user provider
338
+ 006a128 Set vardir so that msi package provider runs on Windows
339
+ 4185b4e Add Windows-specific tests when user parameter specified in exec
340
+ aab6b40 Disable mount provider tests on Windows
341
+ 58f97e3 Update test due to lack of 'true' on Windows
342
+ 1fd90c3 Change tests to not use 'mount' provider
343
+ 220f5e0 Added 'touch' method enabling tests to run on Windows
344
+ ca0bc4f Change test to not call 'rm -rf'
345
+ 1883455 Remove 'fails_on_windows' tag for passing tests
346
+ 0d7c797 (#8414) Create scheduled_task type for use with Windows scheduled tasks
347
+ 4ddef89 (#8414) Require win32-taskscheduler gem on Windows
348
+ 0ecf3ab Add ability to look up fully qualified local accounts using Puppet::Util::Adsi.sid_for_account
349
+ 23d5aeb Add support for displaying hashes to Puppet::Parameter.format_value_for_display
350
+ f0c3414 Move parameter formatting rules into helper method
351
+ 845e05b Wrap long lines in Type::Package
352
+ 18d65ec Whitespace cleanup in Type::SshAuthorizedKey
353
+ b2e2175 Include necessary Facter stubs
354
+ f5bc897 Remove test dependencies on QUANTITY of calls
355
+ 51adf31 Reset the @macosx_version_major variable
356
+ 4b9dfdd Reset the @job_list variable between tests
357
+ 446a5bf Remove use of defined?()
358
+ 0e4079d Use memoization instead of 'unless'
359
+ 9d504ff (#9796) ssh_authorized_key supports whitespace again
360
+ 122b8c2 (#9459) Fix problems with Windows 'user' and 'group' providers.
361
+ ee107cf Use instance variable for job_list
362
+ d1e0fa1 Refactor launchd provider spec tests
363
+ 3440c10 Refactor status method
364
+ 62b8d6b Deprecation Warning if using Facter <= 1.5.5
365
+ 8a50c3a Test prefetching
366
+ f09d264 Stub call to Facter
367
+ a6bc5a5 Optimize @product_version variable
368
+ af42ff8 Documentation Commit
369
+ 55610bf Whitespace Commit
370
+ cf3d378 Change method used to get Fact Value
371
+ ce776b0 Revert launchd_spec
372
+ f65b111 Rearrange launchd provider
373
+ ed90957 First attempt at launchd spec
374
+ 637b57b Implement Caching
375
+ 60482f4 Whitespace and Alignment Commit
376
+ 5b52bd6 Bring up to date with topic branch
377
+ 27057a6 Maint: Fix the "provider" parameter documentation
378
+ 747ffd2 (#8341) Remove duplicate loading of facter files.
379
+ c88d22b Fix tests for #1886 with ActiveRecord 3.x
380
+ 723cd92 Revert "(Maint.) Disable cleaning of storeconfigs."
381
+
1
382
  2.7.9
2
383
  ===
3
384
  da11dc7 Fix Ruby 1.8.5-incompatible code in FileBucket::Dipper spec
@@ -1371,6 +1752,38 @@ d532e6d Fixing #3185 Rakefile is loading puppet.rb twice
1371
1752
  5aa596c Fix #3150 - require function doesn't like ::class syntax
1372
1753
  3457b87 Added time module to tagmail report
1373
1754
 
1755
+ 2.6.13
1756
+ ===
1757
+ e4ee794 (#10739) Provide default subjectAltNames while bootstrapping master
1758
+ 9dfd011 (#5617) Puppet queue logging
1759
+ a91cfa1 maint: Fix failing spec on old version of rspec
1760
+ aa2a762 (#10289) Add an ext script to upload facts to inventory server
1761
+ 5129d38 (#10289) Add a safe alternative to REST for inventory service
1762
+ 7514d32 missing includes in network XML-RPC handlers
1763
+ 397a506 (#10244) Restore Mongrel XMLRPC functionality
1764
+ e7a6995 (#9794) k5login can overwrite arbitrary files as root
1765
+ 0a92a70 Resist directory traversal attacks through indirections.
1766
+ 8d86e5a (9547) Minor mods to acceptance tests
1767
+ 2bf6721 Reset indirector state after configurer tests.
1768
+ bb224dd (#8770) Don't fail to set supplementary groups when changing user to root
1769
+ 2a0de12 (#8770) Always fully drop privileges when changing user
1770
+ 00c4b25 (#8662) Migrate suidmanager test case to rspec
1771
+ d7c9c76 (#8740) Do not enumerate files in the root directory.
1772
+ 0e00473 (#3553) Explain that cron resources require time attributes
1773
+ 769d432 (#8302) Improve documentation of exec providers
1774
+ c209f62 Add document outlining preferred contribution methods
1775
+ fb2ffd6 (#8596) Detect resource alias conflicts when titles do not match
1776
+ 89c021c (#8418) Fix inspect app to have the correct run_mode
1777
+ 3165364 maint: Adding logging to include environment when source fails
1778
+ f484851 maint: Add debug logging when the master receives a report
1779
+ e639868 Confine password disclosure acceptance test to hosts with required libraries
1780
+ a109c90 (maint) Cleanup and strengthen acceptance tests
1781
+ b268fb3 (#7144) Update Settings#writesub to convert mode to Fixnum
1782
+ 4a2f22c (maint) Fix platform dection for RHEL
1783
+ 111a4b5 (#6857) Password disclosure when changing a user's password
1784
+
1785
+ 2.6.12 (CVE-2011-3872 see http://puppetlabs.com/security/hotfixes/cve-2011-3872/)
1786
+
1374
1787
  2.6.11
1375
1788
  ===
1376
1789
  e158b26 (#9793) "secure" indirector file backed terminus base class.
@@ -60,4 +60,32 @@ byte manipulations:
60
60
  If the Regexp is not marked as ASCII-8BIT using /n, then you can expect the
61
61
  SyntaxError, invalid multibyte escape as mentioned above.
62
62
 
63
+ # Windows #
64
+
65
+ If you'd like to run Puppet from source on Windows platforms, the
66
+ include `ext/envpuppet.bat` will help. All file paths in the Puppet
67
+ code base should use a path separator of / regardless of Windows or
68
+ Unix filesystem.
69
+
70
+ To quickly run Puppet from source, assuming you already have Ruby installed
71
+ from [rubyinstaller.org](http://rubyinstaller.org).
72
+
73
+ gem install sys-admin win32-process win32-dir win32-taskscheduler --no-rdoc --no-ri
74
+ gem install win32-service --platform=mswin32 --no-rdoc --no-ri --version 0.7.1
75
+ net use Z: "\\vmware-host\Shared Folders" /persistent:yes
76
+ Z:
77
+ cd <path_to_puppet>
78
+ set PATH=%PATH%;Z:\<path_to_puppet>\ext
79
+ envpuppet puppet --version
80
+ 2.7.9
81
+
82
+ Some spec tests are known to fail on Windows, e.g. no mount provider
83
+ on Windows, so use the following rspec exclude filter:
84
+
85
+ cd <path_to_puppet>
86
+ envpuppet rspec --tag ~fails_on_windows spec
87
+
88
+ This will give you a shared filesystem with your Mac and allow you to run
89
+ Puppet directly from source without using install.rb or copying files around.
90
+
63
91
  EOF