aboutsummaryrefslogtreecommitdiff
path: root/manifests/definitions/transport.pp
blob: 1624bcca6066773b3e1fffc4fa08c3ec43ab12b6 (plain)
1
2
3
4
5
6
7
8
define postfix::transport ($ensure, $destination) {
  line {"${name} ${destination}":
    ensure => present,
    file   => "/etc/postfix/transport",
    line   => "${name} ${destination}",
    notify => Exec["generate /etc/postfix/transport.db"],
  }
}