aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-03-05 09:09:00 +0100
committervarac <varacanero@zeromail.org>2015-03-05 09:09:00 +0100
commit06a63a98fc975d53dfe11e1d15ddd6c7f5607cbc (patch)
tree9c3fc3f0b45b5341b6e517f4f98303967e634193 /manifests
parent316dedeb142e05f75200f32636c11659f060626e (diff)
downloadpuppet-postfix-06a63a98fc975d53dfe11e1d15ddd6c7f5607cbc.tar.gz
puppet-postfix-06a63a98fc975d53dfe11e1d15ddd6c7f5607cbc.tar.bz2
use stdlib file_line instead of deprecated line from common module
Diffstat (limited to 'manifests')
-rw-r--r--manifests/smtp_auth.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/smtp_auth.pp b/manifests/smtp_auth.pp
index ae6a9a5..845a38b 100644
--- a/manifests/smtp_auth.pp
+++ b/manifests/smtp_auth.pp
@@ -27,11 +27,11 @@
# }
define postfix::smtp_auth ($user, $password, $ensure=present) {
- line { $name:
- ensure => $ensure,
- file => '/etc/postfix/smtp_auth',
- line => "${name} ${user}:${password}",
- notify => Exec['generate /etc/postfix/smtp_auth.db'],
- require => Package['postfix'],
- }
+ file_line { $name:
+ ensure => $ensure,
+ path => '/etc/postfix/smtp_auth',
+ line => "${name} ${user}:${password}",
+ notify => Exec['generate /etc/postfix/smtp_auth.db'],
+ require => Package['postfix'],
+ }
}