Puppet Class: proxysql::service

Defined in:
manifests/service.pp

Summary

Manage service of proxysql

Overview



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/service.pp', line 5

class proxysql::service {

  systemd::unit_file { 'proxysql.service':
    content => epp('proxysql/proxysql.service.epp'),
    notify  => Service['proxysql'],
  }

  systemd::dropin_file { 'limits.conf':
    unit    => 'proxysql.service',
    content => "[Service]\nLimitNOFILE=102400\n",
  }

  service { 'proxysql':
    ensure   => $proxysql::service_ensure,
    enable   => $proxysql::service_enable,
    provider => 'systemd',
    require  => Class['systemd::systemctl::daemon_reload'],
  }

}