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
|
# File 'manifests/agent.pp', line 18
class gocd::agent (
$server,
$package_name = 'go-agent',
$package_ensure = 'installed',
$service_name = 'go-agent',
$service_ensure = 'running',
$service_enable = true,
$manage_service = true,
$manage_package = true,
$server_ssl_port = 8154,
$server_port = 8153,
$jvm_min_memory = undef,
$jvm_max_memory = undef,
) {
# Fail fast if we're not using a new Puppet version.
if versioncmp($::puppetversion, '3.7.0') < 0 {
fail('This module requires the use of Puppet v3.7.0 or newer.')
}
contain '::gocd::common'
contain '::gocd::agent::install'
contain '::gocd::agent::config'
contain '::gocd::agent::service'
Class['::gocd::common'] ->
Class['::gocd::agent::install'] ->
Class['::gocd::agent::config'] ~>
Class['::gocd::agent::service']
}
|