aboutsummaryrefslogtreecommitdiff
path: root/manifests/nodo.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-13 17:06:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-13 17:06:39 -0300
commit7fb6adec51e060f32ff0392840a65280f9f15345 (patch)
tree99779b0ec394375aec9399a0d5f451e767931389 /manifests/nodo.pp
parentac18a263c0561deadf499d4f8b15d7507d6cacca (diff)
downloadpuppet-nodo-7fb6adec51e060f32ff0392840a65280f9f15345.tar.gz
puppet-nodo-7fb6adec51e060f32ff0392840a65280f9f15345.tar.bz2
Qualifying role variable
Diffstat (limited to 'manifests/nodo.pp')
-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}": }
}
}