Puppet Class: elasticsearch::repository

Defined in:
puppet/modules/elasticsearch/manifests/repository.pp

Overview

Class: Elasticsearch::Repository

Configure an apt repository to fetch elasticsearch packages from.

Parameters:

  • es_package (Any)
  • es_version (Any)


4
5
6
7
8
9
10
11
12
13
# File 'puppet/modules/elasticsearch/manifests/repository.pp', line 4

class elasticsearch::repository (
    $es_package,
    $es_version,
) {
    apt::repository { 'wikimedia-elastic':
        uri        => 'http://apt.wikimedia.org/wikimedia',
        dist       => "${::lsbdistcodename}-wikimedia",
        components => "component/${es_package} thirdparty/${es_package}",
    }
}