map.jinja: Add Gentoo support

This commit is contained in:
Marc Schiffbauer 2015-12-02 23:31:37 +01:00
parent f08a195b3e
commit 3c583870a0

View File

@ -16,6 +16,11 @@
'cron_service': '/etc/systemd/system/munin-cron.service', 'cron_service': '/etc/systemd/system/munin-cron.service',
'cron_timer': '/etc/systemd/system/munin-cron.timer', 'cron_timer': '/etc/systemd/system/munin-cron.timer',
}, },
'Gentoo': {
'package': 'net-analyzer/munin',
'config': '/etc/munin/munin.conf',
'config_src': 'salt://munin/files/munin.conf',
},
}, merge=salt['pillar.get']('munin:lookup:master')) %} }, merge=salt['pillar.get']('munin:lookup:master')) %}
{% set munin_node = salt['grains.filter_by']({ {% set munin_node = salt['grains.filter_by']({
@ -40,6 +45,13 @@
'config_src': 'salt://munin/files/munin-node.conf', 'config_src': 'salt://munin/files/munin-node.conf',
'plugin_dir': '/usr/lib/munin/plugins', 'plugin_dir': '/usr/lib/munin/plugins',
}, },
'Gentoo': {
'package': 'net-analyzer/munin',
'service': 'munin-node',
'config': '/etc/munin/munin-node.conf',
'config_src': 'salt://munin/files/munin-node.conf',
'plugin_dir': '/usr/libexec/munin/plugins',
},
}, merge=salt['pillar.get']('munin:lookup:node')) %} }, merge=salt['pillar.get']('munin:lookup:node')) %}
{% set net_ssleay = salt['grains.filter_by']({ {% set net_ssleay = salt['grains.filter_by']({