Explorar el Código

icinga2: Install pkg libmonitoring-plugin-perl on Stretch and later.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm hace 6 años
padre
commit
6173e7f1a9
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      icinga2/init.sls

+ 4 - 0
icinga2/init.sls

@@ -22,7 +22,11 @@ monitoring-plugin-pkgs:
       - monitoring-plugins
       - nagios-plugins-contrib
       - libyaml-syck-perl
+{% if grains['oscodename'] == 'jessie' %}
       - libnagios-plugin-perl
+{% else %}
+      - libmonitoring-plugin-perl
+{% endif %}
       - lsof
     - watch_in:
       - service: icinga2