X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmotd%2Ftemplates%2Fmotd.erb;h=cfed6dca8c415acbba61bd78dd51c6bc03cfd97c;hb=497204357b7446d48245ed298c975bf6e94082bc;hp=50a99dd6a3c0f11f30afb47b92d9f1ea02d1eadc;hpb=e3547a89085e966acf32202ac13a2b492e8282b7;p=mirror%2Fdsa-puppet.git diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 50a99dd6a..cfed6dca8 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -110,7 +110,7 @@ end if scope.lookupvar('::cluster').to_s != 'undefined' purp += "\n This server is a node in ganeti cluster: " purp += scope.lookupvar('::cluster').to_s + ":\n" - purp += "\t" + scope.lookupvar('::cluster_nodes').sort.map{ |x| x.split('.')[0] }.join(", ") + ".\n" + purp += "\t" + scope.lookupvar('::cluster_nodes').split.sort.map{ |x| x.split('.')[0] }.join(", ") + ".\n" if @lsbmajdistrelease >= '7' purp += ""