Add dns_config method to provider base

This commit is contained in:
Jake Spain 2023-02-15 11:21:26 -05:00
parent 6f3d853271
commit 268ff9f981
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113

View file

@ -58,6 +58,10 @@ module Vmpooler
nil nil
end end
def dns_config(dns_config_name)
return Vmpooler::Dns.get_dns_plugin_domain_by_name(@config, dns_config_name)
end
# returns # returns
# [Hashtable] : The entire VMPooler configuration # [Hashtable] : The entire VMPooler configuration
def global_config def global_config