diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-02-20 17:06:47 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-02-20 17:06:47 -0500 |
commit | 6e051c3b8567c78ce029b1fac514dbd6975effa0 (patch) | |
tree | c03aa0677ebe21c6b53a3c6df27d4534f36281b1 /manifests/transport.pp | |
parent | 6afd9a84eed3789936f693b1e9acfc56d521971d (diff) |
convert to file resources to stdlib's file_line
Diffstat (limited to 'manifests/transport.pp')
-rw-r--r-- | manifests/transport.pp | 4 |
1 files changed, 2 insertions, 2 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"], |