Puppet Class: kafka_connect::user

Defined in:
manifests/user.pp

Summary

Manages the KC user and group.

Overview



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

class kafka_connect::user {
  assert_private()

  $ensure = $kafka_connect::user_and_group_ensure

  group { $kafka_connect::group :
    ensure => $ensure,
    system => true,
  }

  user { $kafka_connect::user :
    ensure  => $ensure,
    gid     => $kafka_connect::group,
    home    => '/var/empty',
    shell   => '/sbin/nologin',
    system  => true,
    require => Group[$kafka_connect::group],
  }
}