Puppet Class: kafka_connect::confluent_repo::apt

Defined in:
manifests/confluent_repo/apt.pp

Summary

Manages the Confluent apt package repository.

Overview



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

class kafka_connect::confluent_repo::apt {
  assert_private()

  include apt

  apt::source { 'confluent':
    ensure   => $kafka_connect::repo_ensure,
    comment  => 'Confluent repository',
    location => "https://packages.confluent.io/deb/${kafka_connect::repo_version}",
    release  => 'stable',
    repos    => 'main',
    key      => {
      id     => 'CBBB821E8FAF364F79835C438B1DA6120C2BF624',
      source => "https://packages.confluent.io/deb/${kafka_connect::repo_version}/archive.key",
    },
  }

  Apt::Source['confluent'] -> Class['apt::update'] -> Package[$kafka_connect::package_name]
}