From: Luca Filipozzi Date: Wed, 16 May 2012 19:25:04 +0000 (+0000) Subject: use facter fact directly X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=93b62c6267245e981b8055f573834f1a8165fc62;p=mirror%2Fdsa-puppet.git use facter fact directly --- diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 7e8d1759b..6fb437411 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -100,7 +100,7 @@ unless vms.empty? end -if scope.has_key?('cluster') +if @cluster purp += "\nMember of a ganeti cluster.\n" end