summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/setup.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/setup.pp b/manifests/setup.pp
index fb75584..38aeb96 100644
--- a/manifests/setup.pp
+++ b/manifests/setup.pp
@@ -18,7 +18,13 @@ class concat::setup {
root => 0,
default => $id
}
- $concatdir = $::concat_basedir
+
+ if $::concat_basedir {
+ $concatdir = $::concat_basedir
+ } else {
+ fail ("\$concat_basedir not defined. Try running again with pluginsync enabled")
+ }
+
$majorversion = regsubst($::puppetversion, '^[0-9]+[.]([0-9]+)[.][0-9]+$', '\1')
file{"${concatdir}/bin/concatfragments.sh":