How to enable Ohai Plugin to produce [‘etc’][[‘passwd’]?

I have upgraded my Chef Client from 14.0 to 15.3.14 but issue rose whenever I execute chef-client on my node(macOS Mojave). The client output is: ————- 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…