aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/transport.pp4
-rw-r--r--manifests/virtual.pp4
2 files changed, 4 insertions, 4 deletions
diff --git a/manifests/transport.pp b/manifests/transport.pp
index 90c5468..bab9574 100644
--- a/manifests/transport.pp
+++ b/manifests/transport.pp
@@ -34,9 +34,9 @@ Example usage:
*/
define postfix::transport ($ensure="present", $destination) {
- line {"${name} ${destination}":
+ file_line {"${name} ${destination}":
ensure => $ensure,
- file => "/etc/postfix/transport",
+ path => "/etc/postfix/transport",
line => "${name} ${destination}",
notify => Exec["generate /etc/postfix/transport.db"],
require => Package["postfix"],
diff --git a/manifests/virtual.pp b/manifests/virtual.pp
index d6912a4..4a434d2 100644
--- a/manifests/virtual.pp
+++ b/manifests/virtual.pp
@@ -34,9 +34,9 @@ Example usage:
*/
define postfix::virtual ($ensure="present", $destination) {
- line {"${name} ${destination}":
+ file_line {"${name} ${destination}":
ensure => $ensure,
- file => "/etc/postfix/virtual",
+ path => "/etc/postfix/virtual",
line => "${name} ${destination}",
notify => Exec["generate /etc/postfix/virtual.db"],
require => Package["postfix"],