Do not define service resource when service management is disabled

Change-Id: Ia99f99aef9d2f77dd7e57d3256de879267a4da01
This commit is contained in:
Takashi Kajinami 2022-02-21 23:27:59 +09:00
parent 538f6d5237
commit 8fcf75c906

View File

@ -77,7 +77,6 @@ define trove::generic_service(
} else {
$service_ensure = 'stopped'
}
}
service { $trove_title:
ensure => $service_ensure,
@ -87,4 +86,5 @@ define trove::generic_service(
tag => 'trove-service',
}
}
}
}