virtual.pp 250 Bytes
Newer Older
1
2
3
4
5
6
7
8
define postfix-ng::virtual ($ensure, $destination) {
  line {"${name} ${destination}":
    ensure => present,
    file   => "/etc/postfix/virtual",
    line   => "${name} ${destination}",
    notify => Exec["generate /etc/postfix/virtual.db"],
  }
}