anchor.diff:  <%-   plugins = @odisable.map { |p| p.capitalize.to_sym } -%>
   ohai.disabled_plugins =  <%= plugins %>
   <%- end %>
  -ohai.plugin_path      << "<%= @opath %>"
  +ohai.plugin_path << '<%= @opath %>'
   
  -<%= @custom_config %>
  +<%= @custom_config -%>
  
positive.code: <%= template_header %>
  
  node_name        '<%= node['fqdn'] %>'
  
  chef_server_url  '<%= @server_url %>'
  client_key       "<%= @client_key %>"
  
  <% if @trusted_certs_dir -%>
  trusted_certs_dir "<%= @trusted_certs_dir %>"
  <% end -%>
  <%- if @verify_ssl == 'all' -%>
  # Verify all HTTPS connections
  
negative.code: verify_api_cert true
  <%- end -%>
  
  validation_client_name '<%= @validation_client_name %>'
  validation_key   '<%= @validation_key %>'
  
  log_level        <%= @log_level %>
  log_location     <%= @use_syslog?'SyslogLogger.new("chef-client")':'STDOUT' %>
  
  file_backup_path '/var/backups/chef'
  file_cache_path  '/var/cache/chef'
  pid_file         '/var/run/chef/client.pid'
  
  # configuration for Ohai:
  <%- unless @odisable.empty? -%>
  