File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11{# Debian (up to and excluding 9.x 'Stretch') uses snmpd init script for both snmpd/snmptrapd! #}
22
33{% load_yaml as snmp %}
4+ pkg: net-snmp
45service: snmpd
56servicetrap: snmptrapd
67config: /etc/snmp/snmpd.conf
@@ -50,6 +51,7 @@ FreeBSD:
5051 pkg: net-snmp
5152 pkgutils: net-snmp
5253 rootgroup: wheel
54+ fallback: {}
5355{% endload %}
5456
5557{% load_yaml as rhel_specific %}
@@ -61,7 +63,7 @@ FreeBSD:
6163 snmpdargs: '-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a'
6264{% endload %}
6365
64- {% set platform_addition = salt ['grains.filter_by' ](platform_specific , default ='RedHat ' ) %}
66+ {% set platform_addition = salt ['grains.filter_by' ](platform_specific , default ='fallback ' ) %}
6567{% set rhel_addition = salt ['grains.filter_by' ](rhel_specific , grain ='osmajorrelease' , default ='default' ) %}
6668{% set user_override = salt ['pillar.get' ]('snmp' , {}) %}
6769
You can’t perform that action at this time.
0 commit comments