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