Skip to content
Snippets Groups Projects
Commit 7761bb8d authored by Karl Kornel's avatar Karl Kornel
Browse files

postfix::sender: Remove fix-sender exec

parent 0b3d92ae
No related branches found
No related tags found
No related merge requests found
......@@ -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}"],
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment