and restart service in question
[mirror/dsa-puppet.git] / modules / exim / manifests / init.pp
index ae73205..95a24c1 100644 (file)
@@ -24,7 +24,7 @@ class exim {
        concat::fragment { 'virtual_domain_template':
                target  => '/etc/exim4/virtualdomains',
                content => template('exim/virtualdomains.erb'),
-               order   => 05,
+               order   => '05',
        }
 
        service { 'exim4':
@@ -136,6 +136,7 @@ class exim {
        }
 
        case getfromhash($site::nodeinfo, 'mail_port') {
+                Numeric: { $mail_port = sprintf("%d", getfromhash($site::nodeinfo, 'mail_port')) }
                /^(\d+)$/: { $mail_port = $1 }
                default: { $mail_port = '25' }
        }