From c49daf7c7ecf6bc3bdb34946bc9152c599c1163f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 16 Jul 2013 14:12:58 +0300 Subject: [PATCH] sasl: Automatically include saslauthd when adding services to it. --- sasl/manifests/init.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sasl/manifests/init.pp b/sasl/manifests/init.pp index 20df9ca..bdb9e2c 100644 --- a/sasl/manifests/init.pp +++ b/sasl/manifests/init.pp @@ -132,6 +132,8 @@ class sasl::saslauthd { # define sasl::saslauthd::service() { + require sasl::saslauthd + case $::operatingsystem { "centos","fedora","redhat": { case $::architecture { @@ -160,7 +162,7 @@ define sasl::saslauthd::service() { "openbsd" => "wheel", default => "root", }, - require => Service["saslauthd"], + notify => Service["saslauthd"], } }