module ChefConfig::Mixin::FuzzyHostnameMatcher
def fuzzy_hostname_match_any?(hostname, matches)
def fuzzy_hostname_match_any?(hostname, matches) if (!hostname.nil?) && (!matches.nil?) return matches.to_s.split(/\s*,\s*/).compact.any? do |m| fuzzy_hostname_match?(hostname, m) end end false end