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