From 268ff9f981170b673a76f4ecfad154ff0319bf4e Mon Sep 17 00:00:00 2001 From: Jake Spain Date: Wed, 15 Feb 2023 11:21:26 -0500 Subject: [PATCH] Add dns_config method to provider base --- lib/vmpooler/providers/base.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vmpooler/providers/base.rb b/lib/vmpooler/providers/base.rb index 1147aa8..b81e96a 100644 --- a/lib/vmpooler/providers/base.rb +++ b/lib/vmpooler/providers/base.rb @@ -58,6 +58,10 @@ module Vmpooler nil end + def dns_config(dns_config_name) + return Vmpooler::Dns.get_dns_plugin_domain_by_name(@config, dns_config_name) + end + # returns # [Hashtable] : The entire VMPooler configuration def global_config