From 7fb6adec51e060f32ff0392840a65280f9f15345 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 13 Apr 2013 17:06:39 -0300 Subject: Qualifying role variable --- manifests/nodo.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') 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}": } } } -- cgit v1.2.3