Puppet Class: opengrok::service

Defined in:
manifests/service.pp

Overview

Class opengrok::service

This class is meant to be called from opengrok. It ensure the service is running.

Parameters:

  • service_name (Any)

    Specifies the service name for tomcat. Valid options: A string. Example Value: tomcat



10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/service.pp', line 10

class opengrok::service(
  $service_name,
){

  service { $service_name:
    ensure     => running,
    enable     => true,
    hasstatus  => true,
    hasrestart => true,
  }
}