Method: Chef::Compliance::Fetcher::ChefServer.chef_server_reporter?
- Defined in:
- lib/chef/compliance/fetcher/chef_server.rb
.chef_server_reporter? ⇒ Boolean
116 117 118 |
# File 'lib/chef/compliance/fetcher/chef_server.rb', line 116 def self.chef_server_reporter? (Array(Chef.node.attributes["audit"]["reporter"]) & CHEF_SERVER_REPORTERS).any? end |