class ChefCLI::PolicyfileCompiler

def check_for_default_attribute_conflicts!

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