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