move things from modules/roles/static* to modules/static*
[mirror/dsa-puppet.git] / modules / motd / templates / motd.erb
index e0c0b82..573ad88 100644 (file)
@@ -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