transport.pp 256 Bytes
Newer Older
1
2
3
4
5
6
7
8
define postfix-ng::transport ($ensure, $destination) {
  line {"${name} ${destination}":
    ensure => present,
    file   => "/etc/postfix/transport",
    line   => "${name} ${destination}",
    notify => Exec["generate /etc/postfix/transport.db"],
  }
}