summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Poppe <jpoppe@ebay.com>2012-12-12 14:33:47 +0100
committerJasper Poppe <jpoppe@ebay.com>2012-12-12 14:33:47 +0100
commit2f35c78a9ec0adbe1f83b9107ae9d5e3b3f58e1c (patch)
treeb7870c12420115fde49eea7d99ed98d016127c6c
parent483edb52dfb3f79a3bedb3179c824d27397ef067 (diff)
downloadpuppet-concat-2f35c78a9ec0adbe1f83b9107ae9d5e3b3f58e1c.tar.gz
puppet-concat-2f35c78a9ec0adbe1f83b9107ae9d5e3b3f58e1c.tar.bz2
added (file) $replace parameter to concat
-rw-r--r--CHANGELOG1
-rw-r--r--manifests/init.pp10
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: