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 - More Puppet Lint cleanup
- 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,
$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: