19 lines
519 B
Plaintext
19 lines
519 B
Plaintext
|
{% from "nsswitch/map.jinja" import nsswitch_settings as nsswitch with context -%}
|
||
|
|
||
|
# /etc/nsswitch.conf
|
||
|
#
|
||
|
# Managed by Salt
|
||
|
#
|
||
|
# Example configuration of GNU Name Service Switch functionality.
|
||
|
# If you have the `glibc-doc-reference' and `info' packages installed, try:
|
||
|
# `info libc "Name Service Switch"' for information about this file.
|
||
|
|
||
|
{%- for key, value in nsswitch.config.iteritems() %}
|
||
|
{%- if value is list %}
|
||
|
{{ key }}: {{ v for v in value }}
|
||
|
{%- else %}
|
||
|
{{ key }}: {{ value }}
|
||
|
{%- endif %}
|
||
|
{%- endfor %}
|
||
|
|