Skip to content
Snippets Groups Projects
Commit 8f8b5813 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Fix relationship loop

parent 0c142fd9
Branches
Tags
No related merge requests found
...@@ -37,6 +37,7 @@ define postfix::config ($value, $ensure = present) { ...@@ -37,6 +37,7 @@ define postfix::config ($value, $ensure = present) {
Augeas { Augeas {
incl => '/etc/postfix/main.cf', incl => '/etc/postfix/main.cf',
lens => 'Postfix_Main.lns', lens => 'Postfix_Main.lns',
require => File['/etc/postfix/main.cf'],
} }
case $ensure { case $ensure {
......
...@@ -158,6 +158,6 @@ class postfix ( ...@@ -158,6 +158,6 @@ class postfix (
} }
# Relationships # Relationships
Class['postfix::files'] -> Postfix::Config <| |> ~> Class['postfix::service'] Postfix::Config <| |> ~> Class['postfix::service']
Class['postfix'] -> Postfix::Hash <| |> Class['postfix'] -> Postfix::Hash <| |>
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment