def type_file(p_type = provider_type)
      if TypeGenerator::CORE_TYPES.include?(p_type)
        type_file = "puppet/type/#{p_type}.rb"
      else
        type_file = File.join(type_dir, "#{p_type}.rb")
      end
      type_file
    end
def type_file(p_type = provider_type)
      if TypeGenerator::CORE_TYPES.include?(p_type)
        type_file = "puppet/type/#{p_type}.rb"
      else
        type_file = File.join(type_dir, "#{p_type}.rb")
      end
      type_file
    end
returns the type file that the provider uses
 if the type file does not exist it assumes a core puppet type
 because we could potentially dealing with multiple