diff --git a/manifests/generic_service.pp b/manifests/generic_service.pp index d3f3d8c3..30c460a1 100644 --- a/manifests/generic_service.pp +++ b/manifests/generic_service.pp @@ -77,14 +77,14 @@ define trove::generic_service( } else { $service_ensure = 'stopped' } - } - service { $trove_title: - ensure => $service_ensure, - name => $service_name, - enable => $enabled, - hasstatus => true, - tag => 'trove-service', + service { $trove_title: + ensure => $service_ensure, + name => $service_name, + enable => $enabled, + hasstatus => true, + tag => 'trove-service', + } } } }