mirror of https://github.com/sipwise/ngcpcfg.git
parent
7065656450
commit
bf6eae2680
@ -0,0 +1,10 @@
|
||||
[%
|
||||
# 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 -%]
|
||||
Loading…
Reference in new issue