diff --git a/manifests/unit.pp b/manifests/unit.pp index 674df7ad03722302424ef9618fd567820a947959..e1d985ba32cfc992b70853ec09eb62c105380828 100644 --- a/manifests/unit.pp +++ b/manifests/unit.pp @@ -67,7 +67,7 @@ define systemd::unit( ) { include systemd::vars - include systemd::daemon_reload + contain systemd::daemon_reload if ($name !~ /^([^\/.]+)\.([^\/.]+)$/) { diff --git a/manifests/unit_options.pp b/manifests/unit_options.pp index 5387c6527cc11f85b56bd9433bbac286c4f1adad..badfa2011d52b959a45a030d006ffe2749232180 100644 --- a/manifests/unit_options.pp +++ b/manifests/unit_options.pp @@ -58,7 +58,7 @@ define systemd::unit_options( ) { include systemd::vars - include systemd::daemon_reload + contain systemd::daemon_reload if ($name =~ /^([^\/.]+)\.([^\/.]+)\/(.+)$/) { $unitname = $1