module ChefConfig::Mixin::DotD

def load_dot_d(path)

def load_dot_d(path)
  dot_d_files =
    begin
      entries = Array.new
      entries << Dir.glob(File.join(
        ChefConfig::PathHelper.escape_glob_dir(path), "*.rb"))
      entries.flatten.select do |entry|
        File.file?(entry)
      end
    end
  dot_d_files.sort.map do |conf|
    apply_config(IO.read(conf), conf)
  end
end