Puppet Class: oxidized::service

Defined in:
manifests/service.pp

Summary

Manage oxidized service

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/service.pp', line 3

class oxidized::service {
  assert_private()

  ::systemd::unit_file { 'oxidized.service':
    ensure  => $::oxidized::service_file_ensure,
    content => template('oxidized/oxidized.service.erb'),
    notify  => Service['oxidized'],
  }

  service { 'oxidized':
    ensure     => $::oxidized::service_ensure,
    enable     => $::oxidized::service_enable,
    hasstatus  => true,
    hasrestart => true,
  }
}