def print_block(fd, kind, hash, exclude_keys)
fd.puts "define #{kind} {"
hash.each_pair{ |key, value|
def print_block(fd, kind, hash, exclude_keys)
fd.puts "define #{kind} {"
hash.each_pair{ |key, value|
- next if key[0,1] == '_'
+ next if key == '_extinfo'
+ next if key == '_hostgroups'
+ next if key == '_memberlist'