Update service.pp
This commit is contained in:
parent
6a425e4365
commit
28018f5d35
1 changed files with 0 additions and 4 deletions
|
@ -19,10 +19,6 @@ class nginx::service(
|
||||||
$service_ensure = $nginx::service_ensure,
|
$service_ensure = $nginx::service_ensure,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
if $caller_module_name != $module_name {
|
|
||||||
warning("${name} is deprecated as a public API of the ${module_name} module and should no longer be directly included in the manifest.")
|
|
||||||
}
|
|
||||||
|
|
||||||
$service_enable = $service_ensure ? {
|
$service_enable = $service_ensure ? {
|
||||||
running => true,
|
running => true,
|
||||||
absent => false,
|
absent => false,
|
||||||
|
|
Loading…
Reference in a new issue