From: Stephen Gran Date: Thu, 7 May 2009 00:17:50 +0000 (+0100) Subject: Need to cast to a string to evaluate X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=sidebyside;h=e775eff58c14c5156c9208c1ec0e97a8fb95e401;p=mirror%2Fdsa-puppet.git Need to cast to a string to evaluate Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 81c7ec470..e9f332c41 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -194,7 +194,7 @@ if nodeinfo['bugsmaster'] ports << 587 end -if not nodeinfo['mail_port'].empty? +if not nodeinfo['mail_port'].to_s.empty? ports << nodeinfo['mail_port'] end