From: Aurelien Jarno Date: Thu, 20 Apr 2017 16:25:34 +0000 (+0200) Subject: Fix previous commit X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d50bde7317480a53254bb75a3fc31ad9063454e0;p=mirror%2Fdsa-puppet.git Fix previous commit Signed-off-by: Aurelien Jarno --- 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 {