Use the hash variable
[mirror/dsa-puppet.git] / modules / exim / templates / eximconf.erb
index 81c7ec4..1ea37fe 100644 (file)
@@ -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
 
@@ -852,7 +852,7 @@ smarthost:
   driver = manualroute
   domains = !+handled_domains
   transport = remote_smtp_smarthost
-  route_list = * ' + smarthost + '
+  route_list = * ' + nodeinfo['smarthost'] + '
   host_find_failed = defer
   same_domain_copy_routing = yes
   no_more