From 006fb25822a165c786fc5452f1aa3e10d642e4aa Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 18 Mar 2017 21:05:58 +0000 Subject: [PATCH] fix template --- modules/ferm/templates/me.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1