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