From b271bff5059fc193f8a07275dc8fa7bda005599c Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Fri, 29 May 2015 10:42:30 +0100 Subject: [PATCH] (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. --- README.md | 6 +++++- manifests/init.pp | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index db62c1297..3a7f9ccf9 100644 --- a/README.md +++ b/README.md @@ -183,9 +183,13 @@ Specifies whether to add a header message at the top of the destination file. Va If you set 'warn' to 'true', `concat` adds the following message: ~~~ -# This file is managed by Puppet. DO NOT EDIT. +# This file is managed by Puppet. DO NOT EDIT.\n ~~~ +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. + ####Define: `concat::fragment` Except where noted, all the below parameters are optional. diff --git a/manifests/init.pp b/manifests/init.pp index 5bf53fc83..46d4896d1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -18,7 +18,10 @@ # The mode of the final file # [*warn*] # Adds a normal shell style comment top of the file indicating that it is -# built by puppet +# built by puppet. +# 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. # [*backup*] # Controls the filebucketing behavior of the final file and see File type # reference for its use. Defaults to 'puppet'