Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
670B

  1. {%- from "linux/map.jinja" import ldap with context -%}
  2. # /etc/nsswitch.conf
  3. #
  4. # Example configuration of GNU Name Service Switch functionality.
  5. # If you have the `glibc-doc-reference' and `info' packages installed, try:
  6. # `info libc "Name Service Switch"' for information about this file.
  7. passwd: compat{%- if ldap.enabled %} ldap{%- endif %}
  8. group: compat{%- if ldap.enabled %} ldap{%- endif %}
  9. shadow: compat{%- if ldap.enabled %} ldap{%- endif %}
  10. gshadow: files
  11. hosts: files dns
  12. networks: files
  13. protocols: db files
  14. services: db files
  15. ethers: db files
  16. rpc: db files
  17. netgroup: nis