Added nsswitch configuration

This commit is contained in:
Gregory Ballantine committed 2017-05-23 15:17:51 -04:00
1 parent 52057edc8a
commit d38292e590
4 files changed
+57

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
{% 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 %}