Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow overriding the target path of a (concat) file and use a custom …

…name.
  • Loading branch information...
commit 3ac955e05dce5fbff4aedaf3e023f25db5cd9afb 1 parent 0025977
@vStone vStone authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  manifests/init.pp
View
2  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 @@
}
file { $name:
+ path => $path,
ensure => present,
alias => "concat_${name}",
group => $group,
Please sign in to comment.
Something went wrong with that request. Please try again.