Puppet Class: keycloak::service

Defined in:
manifests/service.pp

Overview

Private class.



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

class keycloak::service {
  assert_private()

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

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