class ChefCLI::PolicyfileCompiler

def check_for_override_attribute_conflicts!

def check_for_override_attribute_conflicts!
  checker = Policyfile::AttributeMergeChecker.new
  checker.with_attributes("user-specified", dsl.node_attributes.combined_override)
  included_policies.map do |policy_spec|
    lock = policy_spec.policyfile_lock
    checker.with_attributes(policy_spec.name, lock.override_attributes)
  end
  checker.check!
end