Puppet Class: r10k::webhook::service

Defined in:
manifests/webhook/service.pp

Overview

Class: r10k::webhook::service



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

class r10k::webhook::service () {
  service { 'webhook-go.service':
    ensure => $r10k::webhook::service_ensure,
    enable => $r10k::webhook::service_enabled,
  }
  if $r10k::webhook::service_user {
    systemd::dropin_file { 'user.conf':
      unit    => 'webhook-go.service',
      content => "[Service]\nUser=${r10k::webhook::service_user}\n",
    }
  }
}