From: Peter Palfrader Date: Sat, 18 Mar 2017 21:05:58 +0000 (+0000) Subject: fix template X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=006fb25822a165c786fc5452f1aa3e10d642e4aa;p=mirror%2Fdsa-puppet.git fix template --- diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index 627e4bfae..75f0d5c46 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -13,7 +13,7 @@ restrict_ssh = %w{tchaikovsky draghi adayevskaya} if (nodeinfo['ldap'].has_key?('purpose')) then nodeinfo['ldap']['purpose'].each do |purp| if restricted_purposes.include?(purp) then - restrict_ssh << hostname + restrict_ssh << @hostname end end end