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 --- manifests/init.pp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'manifests') 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 From c854799c53e8c40a437f42a44b0b0decc7746285 Mon Sep 17 00:00:00 2001 From: Jasper Poppe Date: Wed, 12 Dec 2012 15:14:51 +0100 Subject: added description of replace in the comment block --- manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 44d69d4..b309059 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -102,6 +102,8 @@ # that it is built by puppet # - backup Controls the filebucketing behavior of the final file and # see File type reference for its use. Defaults to 'puppet' +# - replace Whether to replace a file that already exists on the local +# system # # ACTIONS: # - Creates fragment directories if it didn't exist already -- cgit v1.2.3