42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# File 'manifests/init.pp', line 42
class zendhq (
String[1] $license_source,
Optional[Hash[String, Variant[String, Integer]]] $settings = undef,
Optional[String[1]] $service_provider = undef,
Enum['running', 'stopped'] $service_ensure = 'running',
String[1] $service_name = 'zendhqd',
Boolean $service_enable = true,
String[1] $package_ensure = 'installed',
String[1] $package_name = 'zendhqd',
) {
if $facts['os']['name'] == 'CentOS' {
package { 'epel-release': }
}
include zendhq::package
include zendhq::service
if $settings != undef {
class { 'zendhq::config':
notify => Class['zendhq::service'],
subscribe => Class['zendhq::package'],
}
}
class { 'zend_common::license':
source => $license_source,
notify => Class['zendhq::service'],
subscribe => Class['zendhq::package'],
}
}
|