From 93b62c6267245e981b8055f573834f1a8165fc62 Mon Sep 17 00:00:00 2001 From: Luca Filipozzi Date: Wed, 16 May 2012 19:25:04 +0000 Subject: [PATCH] use facter fact directly --- modules/motd/templates/motd.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1