concat::fragment { 'virtual_domain_template':
target => '/etc/exim4/virtualdomains',
content => template('exim/virtualdomains.erb'),
- order => 05,
+ order => '05',
}
service { 'exim4':
}
case getfromhash($site::nodeinfo, 'mail_port') {
+ Numeric: { $mail_port = sprintf("%d", getfromhash($site::nodeinfo, 'mail_port')) }
/^(\d+)$/: { $mail_port = $1 }
default: { $mail_port = '25' }
}