diff --git a/manifests/transport.pp b/manifests/transport.pp index 5ca5554c96c05879d432f7c8769fa8809ffe5b52..c3da390b37745e70041b16f99ec5edeb49ccd114 100644 --- a/manifests/transport.pp +++ b/manifests/transport.pp @@ -34,7 +34,7 @@ Example usage: */ define postfix::transport ($ensure="present", $destination) { - line {"${name} ${destination}": + common::line {"${name} ${destination}": ensure => $ensure, file => "/etc/postfix/transport", line => "${name} ${destination}", diff --git a/manifests/virtual.pp b/manifests/virtual.pp index 8fcd53a63babb0d80cd2939c07d423f0c5433366..37d9ad7b34818831d049d5a87dffa3f85fe2dc02 100644 --- a/manifests/virtual.pp +++ b/manifests/virtual.pp @@ -34,7 +34,7 @@ Example usage: */ define postfix::virtual ($ensure="present", $destination) { - line {"${name} ${destination}": + common::line {"${name} ${destination}": ensure => $ensure, file => "/etc/postfix/virtual", line => "${name} ${destination}",