aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 52ab8b8..a6d5883 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -25,5 +25,8 @@ class nodo(
}
# Include additional classes
- hiera_include('classes')
+ $classes = hiera('classes', false)
+ if $classes != false {
+ hiera_include('classes')
+ }
}