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