Puppet Class: profile::mjolnir

Defined in:
modules/profile/manifests/mjolnir.pp

Overview

Parameters:

  • logstash_host (String) (defaults to: hiera('logstash_host'))
  • logstash_port (Stdlib::Port) (defaults to: hiera('logstash_json_lines_port'))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/profile/manifests/mjolnir.pp', line 1

class profile::mjolnir(
    String $logstash_host = hiera('logstash_host'),
    Stdlib::Port $logstash_port = hiera('logstash_json_lines_port')
) {
    # Mjolnir is deployed to stretch and buster. We have 3.7 packages for
    # stretch, but no 3.5 packages for buster. Install 3.7 to have the same
    # version everywhere. The search/mjolnir/deploy repo expects to find a
    # python3.7 executable.
    require profile::python37

    class { '::mjolnir':
        logstash_host => $logstash_host,
        logstash_port => $logstash_port,
    }

}