From: Luca Filipozzi Date: Wed, 16 May 2012 18:42:48 +0000 (+0000) Subject: use site::nodeinfo X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=94266843b900b651fa9ca49e0c8307b105234920;p=mirror%2Fdsa-puppet.git use site::nodeinfo --- diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index ad8142d08..f13ee1a9c 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -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