Puppet Class: opengrok::install
- Defined in:
- manifests/install.pp
Overview
Class opengrok::install
This class is called from opengrok for install.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'manifests/install.pp', line 15
class opengrok::install(
$manage_tomcat,
$manage_git,
$install_ctags,
$ctags_package,
){
if $manage_tomcat {
include ::tomcat
tomcat::install {'tomcat':
install_from_source => false,
package_name => 'tomcat',
}
}
if $manage_git {
include ::git
}
if $install_ctags {
ensure_packages([$ctags_package], {ensure => 'present'})
}
#setup opengrok directories
file { '/var/opengrok/':
ensure => directory,
} ->
file { '/var/opengrok/src':
ensure => directory,
} ->
file { '/var/opengrok/data':
ensure => directory,
} ->
file { '/var/opengrok/etc':
ensure => directory,
}
}
|