From 0c142fd9a95ec33be476ca5e1857cfee845dba36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= <raphael.pinson@camptocamp.com>
Date: Mon, 5 Aug 2013 17:50:32 +0200
Subject: [PATCH] Improve dependencies
---
manifests/config.pp | 2 --
manifests/init.pp | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/manifests/config.pp b/manifests/config.pp
index eeca215..70adcb3 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -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 {
diff --git a/manifests/init.pp b/manifests/init.pp
index 8cb1bca..01cd4cc 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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 <| |>
}
--
GitLab