<commit_before>
Configure the Network Service Switch (NSS) in the file `/etc/nsswitch.conf`.

Define an attribute `node.sys.nsswitch` containing a single string with the configuration, e.g.:

    "sys" => {
      "nsswitch" => "
        passwd:         <PASSWORD>
        group:          files ldap
        shadow:         files 
        hosts:          files dns ldap
        networks:       files ldap
        protocols:      db files
        services:       db files
        ethers:         db files
        rpc:            db files
        netgroup:       nis
      "
    }
<commit_msg>Update documentation<commit_after>Configures the Network Service Switch (NSS) in the file `/etc/nsswitch.conf`.

Define attributes beneath `node['sys']['nsswitch']` e.g.:

```ruby
default['sys']['nsswitch'] = {
  passwd:    '<PASSWORD>',
  shadow:    'files ldap',
  automount: 'files ldap'
}
```

Defaults will automatically be writtem into `/etc/nsswitch.conf`.
Without attributes defined, the file will be left untouched
when calling `sys::nsswitch`.
{'fraction_non_alphanumeric': 0.10450623202301054, 'fraction_numerical': 0.0, 'mean_word_length': 2.2523364485981308, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '75883', 'n_tokens_mistral': 322, 'n_tokens_neox': 312, 'n_words': 98}