]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
use site::nodeinfo
authorLuca Filipozzi <lfilipoz@emyr.net>
Wed, 16 May 2012 18:42:48 +0000 (18:42 +0000)
committerLuca Filipozzi <lfilipoz@emyr.net>
Wed, 16 May 2012 18:42:48 +0000 (18:42 +0000)
modules/motd/templates/motd.erb

index ad8142d08ab098adef5311c29fa33d7bfa923560..f13ee1a9c51a200d1d42f875add03490a195f92d 100644 (file)
@@ -100,7 +100,7 @@ unless vms.empty?
 end
 
 
-if cluster
+if scope.lookupvar('site::nodeinfo').has_key?('cluster')
   purp += "\nMember of a ganeti cluster.\n"
 end