salt-common/sls/mdadm/mdadm.conf.tpl

7 lines
227 B
Smarty
Raw Normal View History

2016-04-16 23:52:58 +00:00
# mdadm configuration file
# Managed by Salt
{% set default_email = salt['pillar.get']('contacts:default:email', False) %}
#
#PROGRAM /usr/sbin/handle-mdadm-events
{% if default_email %}MAILADDR {{ default_email }}{% endif %}