Skip to content

Commit b271bff

Browse files
committed
(MODULES-2080) Call out changed behaviour of 'warn' parameter
Before 2.0.0, this parameter would add a newline at the end of the warn message. To improve flexibilty, this was removed. Please add it explicitely if you need it.
1 parent f4d4ca0 commit b271bff

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,13 @@ Specifies whether to add a header message at the top of the destination file. Va
183183
If you set 'warn' to 'true', `concat` adds the following message:
184184

185185
~~~
186-
# This file is managed by Puppet. DO NOT EDIT.
186+
# This file is managed by Puppet. DO NOT EDIT.\n
187187
~~~
188188

189+
Before 2.0.0, this parameter would add a newline at the end of the warn
190+
message. To improve flexibilty, this was removed. Please add it explicitely if
191+
you need it.
192+
189193
####Define: `concat::fragment`
190194

191195
Except where noted, all the below parameters are optional.

manifests/init.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
# The mode of the final file
1919
# [*warn*]
2020
# Adds a normal shell style comment top of the file indicating that it is
21-
# built by puppet
21+
# built by puppet.
22+
# Before 2.0.0, this parameter would add a newline at the end of the warn
23+
# message. To improve flexibilty, this was removed. Please add it explicitely
24+
# if you need it.
2225
# [*backup*]
2326
# Controls the filebucketing behavior of the final file and see File type
2427
# reference for its use. Defaults to 'puppet'

0 commit comments

Comments
 (0)