From d50bde7317480a53254bb75a3fc31ad9063454e0 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Thu, 20 Apr 2017 18:25:34 +0200 Subject: [PATCH] Fix previous commit Signed-off-by: Aurelien Jarno --- modules/ferm/manifests/per_host.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ferm/manifests/per_host.pp b/modules/ferm/manifests/per_host.pp index d6c4343f6..952f52ab2 100644 --- a/modules/ferm/manifests/per_host.pp +++ b/modules/ferm/manifests/per_host.pp @@ -3,8 +3,8 @@ class ferm::per_host { include ferm::zivit } - if (scope.lookupvar('site::nodeinfo')['hoster']['name'] == "aql") { - include ferm::aq + if (getfromhash($site::nodeinfo, 'hoster', 'name') == "aql") { + include ferm::aql } case $::hostname { -- 2.20.1