Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (11 sloc) 350 Bytes
{%- if email_config.enable | to_bool -%}
root {{ email_config.primaryemail }}
{%- for user in users %}
{{ user.name }} {{ user.email }}
{%- endfor %}
{%- if grains['domain'] | length > 0 %}
@{{ grains['fqdn'] }} {{ email_config.primaryemail }}
{%- else %}
@{{ grains['host'] }}.localdomain {{ email_config.primaryemail }}
{%- endif -%}
{%- endif -%}
You can’t perform that action at this time.