commit
d6e4c324b0
@ -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']({
|
||||||
@ -49,6 +61,9 @@
|
|||||||
'RedHat': {
|
'RedHat': {
|
||||||
'package': 'perl-Net-SSLeay',
|
'package': 'perl-Net-SSLeay',
|
||||||
},
|
},
|
||||||
|
'Gentoo': {
|
||||||
|
'package': 'dev-perl/Net-SSLeay',
|
||||||
|
},
|
||||||
}, merge=salt['pillar.get']('net_ssleay:lookup')) %}
|
}, merge=salt['pillar.get']('net_ssleay:lookup')) %}
|
||||||
|
|
||||||
{% set munin_tls = salt['grains.filter_by']({
|
{% set munin_tls = salt['grains.filter_by']({
|
||||||
@ -62,4 +77,9 @@
|
|||||||
'certificate': '/etc/munin/tls/crt.pem',
|
'certificate': '/etc/munin/tls/crt.pem',
|
||||||
'ca_certificate': '/etc/munin/tls/cacert.pem',
|
'ca_certificate': '/etc/munin/tls/cacert.pem',
|
||||||
},
|
},
|
||||||
|
'Gentoo': {
|
||||||
|
'private_key': '/etc/munin/tls/key.pem',
|
||||||
|
'certificate': '/etc/munin/tls/crt.pem',
|
||||||
|
'ca_certificate': '/etc/munin/tls/cacert.pem',
|
||||||
|
},
|
||||||
}, merge=salt['pillar.get']('munin:lookup:tls')) %}
|
}, merge=salt['pillar.get']('munin:lookup:tls')) %}
|
||||||
|
Loading…
Reference in New Issue
Block a user