Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

22 行
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