Puppet Class: opensearch::service
- Defined in:
-
manifests/service.pp
Summary
Handle opensearch service.
Overview
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'manifests/service.pp', line 6
class opensearch::service {
assert_private()
if $opensearch::manage_service {
if $opensearch::package_source == 'archive' {
systemd::unit_file { 'opensearch.service':
ensure => 'present',
content => epp('opensearch/opensearch.service.epp'),
notify => Service['opensearch'],
}
}
service { 'opensearch':
ensure => $opensearch::service_ensure,
enable => $opensearch::service_enable,
}
}
}
|