diff options
Diffstat (limited to 'manifests/setup.pp')
-rw-r--r-- | manifests/setup.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/setup.pp b/manifests/setup.pp index 53092ab..2c1d343 100644 --- a/manifests/setup.pp +++ b/manifests/setup.pp @@ -13,12 +13,13 @@ # # It also copies out the concatfragments.sh file to /usr/local/bin class concat::setup { + $id = $::id $root_group = $id ? { root => 0, default => $id } - $concatdir = $concat_basedir - $majorversion = regsubst($puppetversion, '^[0-9]+[.]([0-9]+)[.][0-9]+$', '\1') + $concatdir = $::concat_basedir + $majorversion = regsubst($::puppetversion, '^[0-9]+[.]([0-9]+)[.][0-9]+$', '\1') file{"${concatdir}/bin/concatfragments.sh": owner => $id, |