[% # vi: ft=tt2 # Returns the dbnode of a given host. # # @param argv.host The hostname to get the dbnode for. # @return out The dbnode. IF !hosts.${argv.host}.defined; argv.host = 'self'; END; out = hosts.${argv.host}.dbnode; -%]