X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fmotd%2Ftemplates%2Fmotd.erb;h=573ad8880289068c2a4bc322a05bac42a54b06e4;hb=50d609a31adea8d5d54f372c73a8dcda93fd478d;hp=e0c0b82a3800d1e161ca6f3431960bec222a5ed6;hpb=d0c098685b92334a611a0c596a35f538b95ead47;p=mirror%2Fdsa-puppet.git diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index e0c0b82a3..573ad8880 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -88,7 +88,7 @@ end vms = [] scope.lookupvar('deprecated::allnodeinfo').keys.sort.each do |node| - if scope.lookupvar('deprecated::allnodeinfo')[node]['physicalHost'] and scope.lookupvar('site::allnodeinfo')[node]['physicalHost'].include?(@fqdn) + if scope.lookupvar('deprecated::allnodeinfo')[node]['physicalHost'] and scope.lookupvar('deprecated::allnodeinfo')[node]['physicalHost'].include?(@fqdn) vms << node end end