Commit e0172c8ca7ed794462e09e2924077a6449dc196e
1 parent
302ba989
Exists in
master
and in
85 other branches
munin: display environment name in host group
Showing
3 changed files
with
3 additions
and
1 deletions
Show diff stats
Rakefile
... | ... | @@ -53,6 +53,7 @@ ips ||= YAML.load_file(ips_file) |
53 | 53 | config ||= YAML.load_file(config_file) |
54 | 54 | firewall ||= File.open(iptables_file).read |
55 | 55 | $nodes.each do |node| |
56 | + node.data['environment'] = $SPB_ENV | |
56 | 57 | node.data['config'] = config |
57 | 58 | node.data['peers'] = ips |
58 | 59 | node.data['firewall'] = firewall | ... | ... |
cookbooks/munin/templates/hosts.conf.erb