aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/nodo.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index bd3f2a4..3502c23 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -151,7 +151,7 @@ class nodo {
}
# Include role class
- if defined("nodo::role::$role") {
- class { "nodo::role::$role": }
+ if defined("nodo::role::${::role}") {
+ class { "nodo::role::${::role}": }
}
}