X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fferm%2Ftemplates%2Fme.conf.erb;h=75f0d5c46dec3f278ba62cb758f917eaea4bbd08;hb=de7624e71124fa59b533602b266103a18c019334;hp=627e4bfae4440dc34d2abd4bfb480c15bb3022db;hpb=6f2e5fc86e49c12b12eef39fc69e0e810a32c318;p=mirror%2Fdsa-puppet.git 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