sasl: Automatically include saslauthd when adding services to it.
This commit is contained in:
parent
25d45e3017
commit
c49daf7c7e
1 changed files with 3 additions and 1 deletions
|
@ -132,6 +132,8 @@ class sasl::saslauthd {
|
||||||
#
|
#
|
||||||
define sasl::saslauthd::service() {
|
define sasl::saslauthd::service() {
|
||||||
|
|
||||||
|
require sasl::saslauthd
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
"centos","fedora","redhat": {
|
"centos","fedora","redhat": {
|
||||||
case $::architecture {
|
case $::architecture {
|
||||||
|
@ -160,7 +162,7 @@ define sasl::saslauthd::service() {
|
||||||
"openbsd" => "wheel",
|
"openbsd" => "wheel",
|
||||||
default => "root",
|
default => "root",
|
||||||
},
|
},
|
||||||
require => Service["saslauthd"],
|
notify => Service["saslauthd"],
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue