module-postfix/manifests/definitions/virtual.pp
Francois Deppierraz 29c3c8519c postix-ng -> postfix
find . -type f -exec perl -pi -e 's/postfix-ng/postfix/' {} \;
2009-03-02 12:29:31 +01:00

8 lines
247 B
Puppet

define postfix::virtual ($ensure, $destination) {
line {"${name} ${destination}":
ensure => present,
file => "/etc/postfix/virtual",
line => "${name} ${destination}",
notify => Exec["generate /etc/postfix/virtual.db"],
}
}