Added nsswitch configuration
This commit is contained in:
18
nsswitch/files/nsswitch.conf
Normal file
18
nsswitch/files/nsswitch.conf
Normal 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 %}
|
||||
|
Reference in New Issue
Block a user