Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / concat / HISTORY.md
1 ## 4.2.1
2
3 [Full Changelog](https://github.com/puppetlabs/puppetlabs-concat/compare/4.2.0...4.2.1)
4
5 ### Fixed
6 - \(MODULES-6817\) noop =\> false for concat\_file [\#492](https://github.com/puppetlabs/puppetlabs-concat/pull/492) ([hunner](https://github.com/hunner))
7
8 ## Supported Release 4.2.0
9 ### Summary
10 This release introduces the conversion of the module to use PDK 1.3.2, along with the addition of rubocop with associated fixes.
11
12 #### Changed
13 - All changes in this release are for enabling rubocop, alongside the module then being converted over to the PDK.
14
15
16 ## Supported Releases 4.1.1
17 ### Summary
18 This release is to update the formatting of the module, rubocop having been run for all ruby files and been set to run automatically on all future commits.
19
20 #### Changed
21 - Rubocop has been implemented.
22 - SLES 10, Windows 2003 R2 and OSX 10.9 removed as supported.
23 - OSX 10.10 and 10.11 added as supported.
24
25 ## Supported Releases 4.1.0
26 ### Summary
27
28 This release is a rollup of changes. The most notable change being the addition of the 'format' attribute which allows output in JSON and YAML formats, and the 'force' attribute which if true forces a merge of duplicate keys for these formats.
29
30 #### Features
31 - Format and force attributes added.
32 - Deprecated is_string in favour of puppet language.
33 - End of Life Ubuntu releases removed as supported.
34 - Debian 9 added and Debian 6 removed as supported.
35
36 #### Bugfixes
37 - (MODULES-4359) Fix native types so they can be used directly.
38 - Update to tests to handle errors containing quote marks.
39 - Update to tests to follow rspec-puppet pattern.
40
41 ## Supported Releases 4.0.1
42 ### Summary
43
44 This is a small release that updates regex in a test due to changes made in Puppet.
45
46 #### Bugfixes
47
48 - (MODULES-5085) Ensure that replace test handles qoutes in change message
49
50 ## Supported Releases 3.0.0 & 4.0.0
51 ### Summary
52
53 This double release adds new Puppet 4 data types. The 3.0.0 release is fully backwards compatible to 
54 existing Puppet 4 configurations and provides you with [deprecation warnings](https://github.com/puppetlabs/puppetlabs-stdlib#deprecation) for every argument that 
55 will not work as expected with the final 4.0.0 release. See the [stdlib docs](https://github.com/puppetlabs/puppetlabs-stdlib#validate_legacy) for an in-depth discussion of this.
56
57 If you're still running Puppet 3, remain on the latest puppetlabs-concat 2.x release for now, and see the documentation to [upgrade to Puppet 4](https://docs.puppet.com/puppet/4.6/reference/upgrade_major_pre.html).
58
59 #### Added
60 - puppet-strings documentation
61 - Puppet 4 data types and deprecation warnings
62
63 #### Changed
64 - stdlib dependency changed to 4.13.1
65 - supported Puppet version changed to 4.7.
66
67 ## Supported Release 2.2.1
68 ### Summary
69
70 This is a backwards compatible bugfix release.
71
72 #### Bugfixes
73
74 - (MODULES-4350) Makes :path the namevar for concat_file
75 - (MODULES-4351) Prevents the :order parameter from accepting arbitrary values in concat_file
76 - (MODULES-4352) Restricts the :replace parameter to values accepted by file
77 - (MODULES-4474) Drops auto requirement of fragments
78 - (MODULES-3900) Improves error messages in concat::fragment
79 - Uses the whole fragment title when sorting
80
81 ## Supported Release 2.2.0
82 ### Summary
83
84 This release includes support for Debian 8 and Ubuntu 16.04 in addition to numerous bugfixes.
85
86 #### Features
87 - Adds Debian 8 support
88 - Adds Ubuntu 16.04 support
89
90 #### Bugfixes
91 - Fixes the stdlib lower dependency.
92 - (MODULES-3027) Fixes escaping the '*' character in tag creation.
93 - (MODULES-3097) Fixes fragment sorting by alpha
94 - Correctly propagates 'validate_cmd' parameter to generated file resource
95 - Correctly escapes disallowed characters in fragment tag creation
96 - (MODULES-3332) Correct the target path validation
97 - (MODULES-3463) Properly passes metaparams to generated resource
98
99 ## Supported Release 2.1.0
100 ### Summary
101
102 This is a re-release of concat as a resource type. This release also includes new features and bugfixes on top of the previously YANKED 2.0.1 release.
103
104 #### Features
105 - Adds the show_diff property.
106 - Adds the selinux related file params.
107 - Allows integer UID/GID values to be passed into `$owner` and `$group`
108
109 #### Bugfixes
110 - Adds a workaround to PUP-1963: generated resources never receiving dependency edges.
111 - Fixes occassional failure to find directory environment.
112
113 ## Supported Release 1.2.5
114 ### Summary
115
116 Small release for support of newer PE versions. This increments the version of PE in the metadata.json file.
117
118 ## 2015-07-21 - Supported Release 1.2.4
119 ### Summary
120
121 This release includes some ruby path and lint fixes.
122
123 #### Bugfixes
124 - Use correct ruby path with PE and AIO
125 - Lint fixes
126 - Use correct ruby path on FreeBSD
127 - Test fixes
128
129 ## 2015-06-02 - Supported Release 2.0.1 [YANKED]
130 ### Summary
131
132 This is a bugfix release. 
133
134 #### Bugfixes
135 - Fixes dependency graphing with concurrent modification of the same file.
136 - Fixes handling fragment target.
137 - Fixes the defaulted force behavior to handle empty concats correctly.
138
139 ## 2015-06-02 - Supported Release 1.2.3
140 ### Summary
141
142 This release includes a README fix to document correct behavior of fragment target parameter.
143
144 #### Bugfixes
145 - README Fix to correctly document how a fragment $target param should work.
146
147 ## 2015-05-12 - Supported Release 2.0.0 [YANKED]
148 ### Summary
149
150 This is a major release. Includes re-implementation of concat to use native Type and Providers, resulting in significantly improved performance and testability. Also includes a bugfix to alpha ordering of fragments.
151
152 #### Features
153 - Re-implementation of concat to use native Type and Providers.
154
155 #### Bugfixes
156 - Fixes a bug in alpha ordering of fragments.
157
158 ## 2015-05-12 - Supported Release 1.2.2
159 ### Summary
160
161 This release includes a bugfix.
162
163 #### Bugfixes
164 - Fixes a bug introduced by MODULES-1700, in handling default retrieval of fragment backup parameter.
165
166 ## 2015-04-14 - Supported Release 1.2.1
167 ### Summary
168
169 This release includes bugfixes, test improvements, and a rewritten README.
170
171 #### Bugfixes
172
173 - Verifies existence of $is_pe before using it.
174 - Adds validation for $order param to not allow restricted characters.
175 - Sets the group id on Fragments for versions of Facter that contain the $gid fact.
176 - Sets the script group to 0 if the script is owned by root.
177 - Explicitly sets script and concat directories to the same owner and group.
178 - Re-adds support for fragment backup, so that static compiler can work with filebucket (MODULES-1700).
179
180 ## 2015-02-17 - Supported Release 1.2.0
181 ### Summary
182
183 This release includes a number of bugfixes and adds support for running a validation command when using puppet >= 3.5.0.
184
185 #### Features
186 - Support running a validation command for Puppet >= 3.5.0
187
188 #### Bugfixes
189 - Reset poisoned defaults from Exec
190 - Use concatfragments.rb on AIX since it doesn't support print0
191 - Make sure ruby is in the path for PE (MODULES-1456)
192 - Fix missing method for check_is_owned_by for windows (MODULES-1764)
193 - Fix sort by numeric
194
195 ## 2014-10-28 - Supported Release 1.1.2
196 ### Summary
197
198 This release includes bugfixes and test improvements. The module was tested against SLES10 and SLES12 and found to work against those platforms with no module improvements. Metadata was updated to include those as supported platforms.
199
200 #### Bugfixes
201 - newline didn't work for Windows and Solaris. This has been fixed.
202 - Install certs on Windows for acceptance tests
203 - Update tests to work with strict variables (no module updates were required)
204 - Update tests to work on Windows
205 - Fix typo in CHANGELOG.md
206
207 ## 2014-09-10 - Supported Release 1.1.1
208 ### Summary
209
210 This is a bugfix release, and the first supported release of the 1.1.x series.
211
212 #### Bugfixes
213 - Make the `$order` parameter default to a string and be validated as an integer
214   or a string
215 - Use the ruby script on Solaris to not break Sol10 support
216 - Add quotes to the ruby script location for Windows
217 - Fix typos in README.md
218 - Make regex in concat::setup case-insensitive to make it work on Windows
219 - Make sure concat fragments are always replaced
220 - Fix validation to allow `$backup` to be a boolean
221 - Remove dependency on stdlib 4.x
222 - Fix for lack of idempotency with `ensure => 'absent'`
223 - Fix tests and spec_helper
224 - Synchronized files for more consistency across modules via modulesync
225
226 ## 2014-05-14 - Release 1.1.0
227 ### Summary
228
229 This release is primarily a bugfix release since 1.1.0-rc1.
230
231 #### Features
232 - Improved testing, with tests moved to beaker
233
234 #### Bugfixes
235 - No longer attempts to set fragment owner and mode on Windows
236 - Fix numeric sorting
237 - Fix incorrect quoting
238 - Fix newlines
239
240 ## 2014-01-03 - Release 1.1.0-rc1
241 ### Summary
242
243 This release of concat was 90% written by Joshua Hoblitt, and the module team
244 would like to thank him for the huge amount of work he put into this release.
245
246 This module deprecates a bunch of old parameters and usage patterns, modernizes
247 much of the manifest code, simplifies a whole bunch of logic and makes
248 improvements to almost all parts of the module.
249
250 The other major feature is windows support, courtesy of luisfdez, with an
251 alternative version of the concat bash script in ruby.  We've attempted to
252 ensure that there are no backwards incompatible changes, all users of 1.0.0
253 should be able to use 1.1.0 without any failures, but you may find deprecation
254 warnings and we'll be aggressively moving for a 2.0 to remove those too.
255
256 For further information on deprecations, please read:
257 https://github.com/puppetlabs/puppetlabs-concat/blob/master/README.md#api-deprecations
258
259 #### Removed
260 - Puppet 0.24 support.
261 - Filebucket backup of all file resources except the target concatenated file.
262 - Default owner/user/group values.
263 - Purging of long unused /usr/local/bin/concatfragments.sh
264
265 ### Features
266 - Windows support via a ruby version of the concat bash script.
267 - Huge amount of acceptance testing work added.
268 - Documentation (README) completely rewritten.
269 - New parameters in concat:
270  - `ensure`: Controls if the file should be present/absent at all.
271  - Remove requirement to include concat::setup in manifests.
272  - Made `gnu` parameter deprecated.
273  - Added parameter validation.
274
275 ### Bugfixes
276  - Ensure concat::setup runs before concat::fragment in all cases.
277  - Pluginsync references updated for modern Puppet.
278  - Fix incorrect group parameter.
279  - Use $owner instead of $id to avoid confusion with $::id
280  - Compatibility fixes for Puppet 2.7/ruby 1.8.7
281  - Use LC_ALL=C instead of LANG=C
282  - Always exec the concatfragments script as root when running as root.
283  - Syntax and other cleanup changes.
284
285 ## 2014-06-25 - Supported Release 1.0.4
286 ### Summary
287
288 This release has test fixes.
289
290 #### Features
291 - Added test support for OSX.
292
293 #### Bugfixes
294
295 #### Known bugs
296
297 * Not supported on Windows.
298
299 ## 2014-06-04 - Release 1.0.3
300 ### Summary
301
302 This release adds compatibility for PE3.3 and fixes tests.
303
304 #### Features
305 - Added test support for Ubuntu Trusty.
306
307 #### Bugfixes
308
309 #### Known bugs
310
311 *Not supported on Windows.
312
313 ## 2014-03-04 - Supported Release 1.0.2
314 ### Summary
315
316 This is a supported release. No functional changes were made from 1.0.1.
317
318 #### Features
319 - Huge amount of tests backported from 1.1.
320 - Documentation rewrite.
321
322 #### Bugfixes
323
324 #### Known Bugs
325
326 * Not supported on Windows.
327
328
329 ## 2014-02-12 - 1.0.1
330 ### Summary
331
332 Minor bugfixes for sorting of fragments and ordering of resources.
333
334 #### Bugfixes
335 - LANG => C replaced with LC_ALL => C to reduce spurious recreation of
336 fragments.
337 - Corrected pluginsync documentation.
338 - Ensure concat::setup always runs before fragments.
339
340
341 ## 2013-08-09 - 1.0.0
342 ### Summary
343
344 Many new features and bugfixes in this release, and if you're a heavy concat
345 user you should test carefully before upgrading.  The features should all be
346 backwards compatible but only light testing has been done from our side before
347 this release.
348
349 #### Features
350 - New parameters in concat:
351  - `replace`: specify if concat should replace existing files.
352  - `ensure_newline`: controls if fragments should contain a newline at the end.
353 - Improved README documentation.
354 - Add rspec:system tests (rake spec:system to test concat)
355
356 #### Bugfixes
357 - Gracefully handle \n in a fragment resource name.
358 - Adding more helpful message for 'pluginsync = true'
359 - Allow passing `source` and `content` directly to file resource, rather than
360 defining resource defaults.
361 - Added -r flag to read so that filenames with \ will be read correctly.
362 - sort always uses LANG=C.
363 - Allow WARNMSG to contain/start with '#'.
364 - Replace while-read pattern with for-do in order to support Solaris.
365
366 #### CHANGELOG:
367 - 2010/02/19 - initial release
368 - 2010/03/12 - add support for 0.24.8 and newer
369              - make the location of sort configurable
370              - add the ability to add shell comment based warnings to
371                top of files
372              - add the ablity to create empty files
373 - 2010/04/05 - fix parsing of WARN and change code style to match rest
374                of the code
375              - Better and safer boolean handling for warn and force
376              - Don't use hard coded paths in the shell script, set PATH
377                top of the script
378              - Use file{} to copy the result and make all fragments owned
379                by root.  This means we can chnage the ownership/group of the
380                resulting file at any time.
381              - You can specify ensure => "/some/other/file" in concat::fragment
382                to include the contents of a symlink into the final file.
383 - 2010/04/16 - Add more cleaning of the fragment name - removing / from the $name
384 - 2010/05/22 - Improve documentation and show the use of ensure =>
385 - 2010/07/14 - Add support for setting the filebucket behavior of files
386 - 2010/10/04 - Make the warning message configurable
387 - 2010/12/03 - Add flags to make concat work better on Solaris - thanks Jonathan Boyett
388 - 2011/02/03 - Make the shell script more portable and add a config option for root group
389 - 2011/06/21 - Make base dir root readable only for security
390 - 2011/06/23 - Set base directory using a fact instead of hardcoding it
391 - 2011/06/23 - Support operating as non privileged user
392 - 2011/06/23 - Support dash instead of bash or sh
393 - 2011/07/11 - Better solaris support
394 - 2011/12/05 - Use fully qualified variables
395 - 2011/12/13 - Improve Nexenta support
396 - 2012/04/11 - Do not use any GNU specific extensions in the shell script
397 - 2012/03/24 - Comply to community style guides
398 - 2012/05/23 - Better errors when basedir isnt set
399 - 2012/05/31 - Add spec tests
400 - 2012/07/11 - Include concat::setup in concat improving UX
401 - 2012/08/14 - Puppet Lint improvements
402 - 2012/08/30 - The target path can be different from the $name
403 - 2012/08/30 - More Puppet Lint cleanup
404 - 2012/09/04 - RELEASE 0.2.0
405 - 2012/12/12 - Added (file) $replace parameter to concat