From: Jan Vansteenkiste Date: Thu, 30 Aug 2012 08:09:28 +0000 (+0200) Subject: Allow overriding the target path of a (concat) file and use a custom name. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3ac955e05dce5fbff4aedaf3e023f25db5cd9afb;p=puppet-concat.git Allow overriding the target path of a (concat) file and use a custom name. --- diff --git a/manifests/init.pp b/manifests/init.pp index 8741ec7..bd6358e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -94,6 +94,7 @@ # - The final file can be referened as File["/path/to/file"] or # File["concat_/path/to/file"] define concat( + $path = $name, $owner = $::id, $group = $concat::setup::root_group, $mode = '0644', @@ -189,6 +190,7 @@ define concat( } file { $name: + path => $path, ensure => present, alias => "concat_${name}", group => $group,