Puppet Class: opengrok::params
- Defined in:
- manifests/params.pp
Overview
Class opengrok::params
This class is meant to be called from opengrok. It sets variables according to platform.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'manifests/params.pp', line 30
class opengrok::params {
case $::osfamily {
'RedHat', 'Amazon': {
$download_url = 'https://github.com/OpenGrok/OpenGrok/files/467358/opengrok-0.12.1.6.tar.gz.zip'
$projects = {}
$install_ctags = true
$ctags_package = 'ctags'
$manage_tomcat = true
$opengrok_dir = '/opt/opengrok'
$manage_git = true
$service_name = 'tomcat'
$catalina_home = '/var/lib/tomcat'
$body_text = 'You can replace this block of text (in index_body.html) with some more useful
information about your source tree and its organization, with direct links to key parts of code base.'
$config_hash = { 'OPENGROK_VERBOSE' => 'no' }
}
default: {
fail("${::operatingsystem} not supported")
}
}
}
|