added (file) $replace parameter to concat

This commit is contained in:
Jasper Poppe 2012-12-12 14:33:47 +01:00
parent 483edb52df
commit 2f35c78a9e
2 changed files with 7 additions and 4 deletions

View file

@ -37,3 +37,4 @@ CHANGELOG:
- 2012/08/30 - The target path can be different from the $name - 2012/08/30 - The target path can be different from the $name
- 2012/08/30 - More Puppet Lint cleanup - 2012/08/30 - More Puppet Lint cleanup
- 2012/09/04 - RELEASE 0.2.0 - 2012/09/04 - RELEASE 0.2.0
- 2012/12/12 - Added (file) $replace parameter to concat

View file

@ -129,6 +129,7 @@ define concat(
$warn = false, $warn = false,
$force = false, $force = false,
$backup = 'puppet', $backup = 'puppet',
$replace = true,
$gnu = undef, $gnu = undef,
$order='alpha' $order='alpha'
) { ) {
@ -184,10 +185,11 @@ define concat(
} }
File { File {
owner => $::id, owner => $::id,
group => $group, group => $group,
mode => $mode, mode => $mode,
backup => $backup backup => $backup,
replace => $replace
} }
file { $fragdir: file { $fragdir: