10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'manifests/server/config.pp', line 10
class hyperglass::server::config (
Hash $devices = $hyperglass::server::devices,
Hash $data = $hyperglass::server::data,
Hash $commands = $hyperglass::server::commands,
) {
assert_private()
file { '/opt/hyperglass/hyperglass-server/hyperglass/hyperglass.yaml':
ensure => 'file',
owner => 'hyperglass',
group => 'hyperglass',
content => to_yaml($data),
}
file { '/opt/hyperglass/hyperglass-server/hyperglass/commands.yaml':
ensure => 'file',
owner => 'hyperglass',
group => 'hyperglass',
content => to_yaml($commands),
}
file { '/opt/hyperglass/hyperglass-server/hyperglass/devices.yaml':
ensure => 'file',
owner => 'hyperglass',
group => 'hyperglass',
content => to_yaml($devices),
}
}
|