Puppet Class: hyperglass::agent

Defined in:
manifests/agent.pp

Summary

installs the hyperglass linux agent

Overview

Parameters:

  • manage_python (Boolean) (defaults to: true)

    installs python3

  • manage_gcc (Boolean) (defaults to: true)

    installs gcc

  • data (Hash) (defaults to: { 'debug' => true, 'listen_address' => '127.0.0.1', 'mode' => 'bird', 'secret' => fqdn_rand_string(20), 'ssl' => { 'enable' => false, }, })

    generic hyperglass configuration hash.

See Also:

Author:

  • Tim Meusel <tim@bastelfreak.de>



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/agent.pp', line 10

class hyperglass::agent (
  Boolean $manage_python = true,
  Boolean $manage_gcc    = true,
  Hash $data             = {
    'debug'          => true,
    'listen_address' => '127.0.0.1',
    'mode'           => 'bird',
    'secret'         => fqdn_rand_string(20),
    'ssl'            => {
      'enable' => false,
    },
  },
) {
  require hyperglass::hyperglassdir
  contain hyperglass::agent::install
  contain hyperglass::agent::config
  contain hyperglass::agent::service
  Class['hyperglass::agent::install']
  -> Class['hyperglass::agent::config']
  ~> Class['hyperglass::agent::service']
}