This module contains shared code for various Elastic modules, like elastic-elasticsearch, elastic-logstash etc.
This module can configure package repositories for Elastic Stack components.
Example:
include elastic_stack::repo
You may wish to specify a major version, since each has its own repository:
class { 'elastic_stack::repo':
version => 5,
}
To access prerelease versions, such as release candidates, set prerelease
to true
.
class { 'elastic_stack::repo':
version => 6,
prerelease => true,
}
To access the repository for OSS-only packages, set oss
to true
.
class { 'elastic_stack::repo':
oss => true,
}
To use a custom package repository, set base_repo_url
, like this:
class { 'elastic_stack::repo':
base_repo_url => 'https://mymirror.example.org/elastic-artifacts/packages',
}