lib/sconb.rb in sconb-0.0.3 vs lib/sconb.rb in sconb-0.0.4

- old
+ new

@@ -26,9 +26,10 @@ end next if value.nil? next unless key.downcase == 'host' negative_hosts, positive_hosts = value.to_s.split(/\s+/).partition { |h| h.start_with?('!') } positive_hosts.each do | host | + next if host == '*' config = config_load(path, host) allconfig.each do |key, value| next unless config.key? key config.delete key if config[key] == allconfig[key]