Commit 7761bb8d authored by Karl Kornel's avatar Karl Kornel
Browse files

postfix::sender: Remove fix-sender exec

parent 0b3d92ae
...@@ -34,15 +34,4 @@ define base::postfix::sender( ...@@ -34,15 +34,4 @@ define base::postfix::sender(
require => Package['postfix'], require => Package['postfix'],
notify => Exec["postmap hash:${file}"], 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}"],
}
}
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment