From 2f35c78a9ec0adbe1f83b9107ae9d5e3b3f58e1c Mon Sep 17 00:00:00 2001 From: Jasper Poppe Date: Wed, 12 Dec 2012 14:33:47 +0100 Subject: added (file) $replace parameter to concat --- CHANGELOG | 1 + manifests/init.pp | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index efed649..139a638 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -37,3 +37,4 @@ CHANGELOG: - 2012/08/30 - The target path can be different from the $name - 2012/08/30 - More Puppet Lint cleanup - 2012/09/04 - RELEASE 0.2.0 +- 2012/12/12 - Added (file) $replace parameter to concat diff --git a/manifests/init.pp b/manifests/init.pp index 960098d..44d69d4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -129,6 +129,7 @@ define concat( $warn = false, $force = false, $backup = 'puppet', + $replace = true, $gnu = undef, $order='alpha' ) { @@ -184,10 +185,11 @@ define concat( } File { - owner => $::id, - group => $group, - mode => $mode, - backup => $backup + owner => $::id, + group => $group, + mode => $mode, + backup => $backup, + replace => $replace } file { $fragdir: -- cgit v1.2.3