support SUSE-based OSes
such as openSUSE and SLES
This commit is contained in:
parent
caf6a26307
commit
416272fb1c
@ -9,6 +9,11 @@
|
|||||||
'config': '/etc/munin/munin.conf',
|
'config': '/etc/munin/munin.conf',
|
||||||
'config_src': 'salt://munin/files/munin.conf',
|
'config_src': 'salt://munin/files/munin.conf',
|
||||||
},
|
},
|
||||||
|
'Suse': {
|
||||||
|
'package': 'munin',
|
||||||
|
'config': '/etc/munin/munin.conf',
|
||||||
|
'config_src': 'salt://munin/files/munin.conf',
|
||||||
|
},
|
||||||
'Arch': {
|
'Arch': {
|
||||||
'package': 'munin',
|
'package': 'munin',
|
||||||
'config': '/etc/munin/munin.conf',
|
'config': '/etc/munin/munin.conf',
|
||||||
@ -38,6 +43,13 @@
|
|||||||
'config_src': 'salt://munin/files/munin-node.conf',
|
'config_src': 'salt://munin/files/munin-node.conf',
|
||||||
'plugin_dir': '/usr/share/munin/plugins',
|
'plugin_dir': '/usr/share/munin/plugins',
|
||||||
},
|
},
|
||||||
|
'Suse': {
|
||||||
|
'package': 'munin-node',
|
||||||
|
'service': 'munin-node',
|
||||||
|
'config': '/etc/munin/munin-node.conf',
|
||||||
|
'config_src': 'salt://munin/files/munin-node.conf',
|
||||||
|
'plugin_dir': '/usr/share/munin/plugins',
|
||||||
|
},
|
||||||
'Arch': {
|
'Arch': {
|
||||||
'package': 'munin-node',
|
'package': 'munin-node',
|
||||||
'service': 'munin-node',
|
'service': 'munin-node',
|
||||||
|
@ -28,3 +28,9 @@ munin-cron.timer:
|
|||||||
- file: cron_timer
|
- file: cron_timer
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if salt['grains.get']('os_family') == 'Suse' %}
|
||||||
|
munin-cron:
|
||||||
|
service.running:
|
||||||
|
- name: cron
|
||||||
|
- enable: True
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user