aboutsummaryrefslogtreecommitdiff
path: root/manifests/definitions/transport.pp
blob: ea23bf66a95d62ac16a5110ce70cfc106c57a536 (plain)
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"],
  }
}