diff --git a/manifests/init.pp b/manifests/init.pp index 3a96b781..2acf8db7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,6 +17,10 @@ $group = 'sonar', $user_system = true, $service = 'sonar', + $service_start = '/etc/init.d/sonar start', + $service_stop = '/etc/init.d/sonar stop', + $service_status = '/etc/init.d/sonar status', + $service_restart = '/etc/init.d/sonar restart', $installroot = '/usr/local', $home = undef, $host = undef, @@ -193,6 +197,10 @@ service { 'sonarqube': ensure => running, name => $service, + start => $service_start, + stop => $service_stop, + status => $service_status, + restart => $service_restart, hasrestart => true, hasstatus => true, enable => true,