Puppet Class: hyperglass::agent::config

Defined in:
manifests/agent/config.pp

Summary

configures the hyperglass looking agent

Overview

Parameters:

  • data (Hash) (defaults to: $hyperglass::agent::data)


5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/agent/config.pp', line 5

class hyperglass::agent::config (
  Hash $data = $hyperglass::agent::data,
) {
  assert_private()

  file { '/opt/hyperglass/hyperglass-agent/hyperglass-agent/config.yaml':
    ensure  => 'file',
    owner   => 'hyperglass-agent',
    group   => 'hyperglass-agent',
    mode    => '0400',
    content => to_yaml($data),
  }
}