diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 17:06:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 17:06:39 -0300 |
commit | 7fb6adec51e060f32ff0392840a65280f9f15345 (patch) | |
tree | 99779b0ec394375aec9399a0d5f451e767931389 | |
parent | ac18a263c0561deadf499d4f8b15d7507d6cacca (diff) | |
download | puppet-nodo-7fb6adec51e060f32ff0392840a65280f9f15345.tar.gz puppet-nodo-7fb6adec51e060f32ff0392840a65280f9f15345.tar.bz2 |
Qualifying role variable
-rw-r--r-- | manifests/nodo.pp | 4 |
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}": } } } |