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

postfix::recipient: Try cleaning up some of the dependencies

parent 8b146cce
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ define base::postfix::recipient( ...@@ -41,7 +41,7 @@ define base::postfix::recipient(
exec { "fix-recipient-${name}": exec { "fix-recipient-${name}":
command => "sed -i -e 's/^${name}..*\$/${line}/' ${file}", command => "sed -i -e 's/^${name}..*\$/${line}/' ${file}",
unless => "grep '^${line}\$' ${file}", unless => "grep '^${line}\$' ${file}",
require => [ Exec["add-recipient-${name}"], Package['postfix'] ], require => Exec["add-recipient-${name}"],
notify => Exec["postmap hash:${file}"], 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