title: How to enable Ohai Plugin to produce ['etc']['passwd']?
body: <p>I have upgraded my Chef Client from <code>14.0</code> to <code>15.3.14</code> but issue rose whenever I execute chef-client on my node(macOS Mojave).<br>
  The client output is:</p>
  
  <pre><code>-------------
  undefined method `[]' for nil:NilClass
  
  Cookbook Trace:
  ---------------
    /var/chef/cache/cookbooks/macos/recipes/mac_init.rb:62:in `from_file'
  
  Relevant File Content:
  ----------------------
  /var/chef/cache/cookbooks/macos/recipes/mac_init.rb:
  
   55:    action :create
   56:    owner 'administrator'
   57:    group 'localaccounts'
   58:    mode  '0775'
   59:  end
   60:
   61:  # Template for bash history
   62&gt;&gt;   node['etc']['passwd'].each do |user, data|
   63:
   64:    template "/Users/#{user}/.bash_profile" do
   65:      source '/default/bash_profile.erb'
   66:      owner 'administrator'
   67:      group 'staff'
   68:      ignore_failure true
   69:    end
   70:  end
  </code></pre>
  
  <p>It seems that <code>node['etc']['passwd']</code> is no longer readable which result to have a value of <code>nil</code>.<br>
  I've checked another machine that was newly bootstrapped and verify it on Chef Server UI but the result is, there was no 'etc' in the attributes tab.</p>