diff --git a/manifests/postfix/sender.pp b/manifests/postfix/sender.pp index e0fb9c6613c4f6e577fe7abecb129b0c99980c29..bd902e0ca7631c251d2b8574756aebbb7b687caf 100644 --- a/manifests/postfix/sender.pp +++ b/manifests/postfix/sender.pp @@ -34,15 +34,4 @@ define base::postfix::sender( require => Package['postfix'], notify => Exec["postmap hash:${file}"], } - - case $ensure { - default: { - exec { "fix-sender-${name}": - command => "sed -i -e 's/^${name}..*\$/${line}/' ${file}", - unless => "grep '^${line}\$' ${file}", - require => File_line["add-sender-${name}"], - notify => Exec["postmap hash:${file}"], - } - } - } }