Commit 8f8b5813 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Fix relationship loop

parent 0c142fd9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ define postfix::config ($value, $ensure = present) {
  Augeas {
    incl    => '/etc/postfix/main.cf',
    lens    => 'Postfix_Main.lns',
    require => File['/etc/postfix/main.cf'],
  }

  case $ensure {
+1 −1
Original line number Diff line number Diff line
@@ -158,6 +158,6 @@ class postfix (
  }

  # Relationships
  Class['postfix::files'] -> Postfix::Config <| |> ~> Class['postfix::service']
  Postfix::Config <| |> ~> Class['postfix::service']
  Class['postfix'] -> Postfix::Hash <| |>
}