Commit 0c142fd9 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Improve dependencies

parent 59e0fa44
......@@ -37,8 +37,6 @@ define postfix::config ($value, $ensure = present) {
Augeas {
incl => '/etc/postfix/main.cf',
lens => 'Postfix_Main.lns',
notify => Service['postfix'],
require => File['/etc/postfix/main.cf'],
}
case $ensure {
......
......@@ -158,6 +158,6 @@ class postfix (
}
# Relationships
Class['postfix'] -> Postfix::Config <| |> ~> Class['postfix::service']
Class['postfix::files'] -> Postfix::Config <| |> ~> Class['postfix::service']
Class['postfix'] -> Postfix::Hash <| |>
}
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