From: Silvio Rhatto Date: Sat, 13 Apr 2013 20:06:39 +0000 (-0300) Subject: Qualifying role variable X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7fb6adec51e060f32ff0392840a65280f9f15345;p=puppet-nodo.git Qualifying role variable --- 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}": } } }