Defined Type: opengrok::project
- Defined in:
- manifests/project.pp
Overview
Define opengrok::project
This define lets you add git projects to OpenGrok
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'manifests/project.pp', line 20
define opengrok::project (
Pattern[/^(https?|git)[^\s]*\.git$/] $source,
Enum['present', 'absent', 'latest'] $ensure = latest,
Enum['git'] $provider = 'git',
Optional[String[1]] $revision = undef,
){
include ::opengrok::params
vcsrepo { "/var/opengrok/src/${title}":
ensure => $ensure,
provider => $provider,
source => $source,
revision => $revision,
}
}
|