Puppet Class: confluent::repository::debian

Inherits:
confluent::params
Defined in:
manifests/repository/debian.pp

Overview

Parameters:

  • key_url (Any) (defaults to: $::confluent::params::key_url)
  • repository_url (Any) (defaults to: $::confluent::params::repository_url)


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

class confluent::repository::debian (
  $key_url        = $::confluent::params::key_url,
  $repository_url = $::confluent::params::repository_url
) inherits confluent::params {
  include ::apt

  apt::key { '41468433':
    source => $key_url,
    tag    => 'confluent'
  } ->
  apt::source { 'confluent':
    comment  => 'Confluent repo',
    location => $repository_url,
    release  => 'stable',
    repos    => 'main',
    include  => {
      'src' => false,
      'deb' => true,
    },
    tag      => 'confluent'
  }

  Apt::Key<| tag == 'confluent' |> -> Apt::Source<| tag == 'confluent' |> -> Package<| tag == 'confluent' |>
}