modules/mu/cloud/dnszone.rb in cloud-mu-3.2.0 vs modules/mu/cloud/dnszone.rb in cloud-mu-3.3.0
- old
+ new
@@ -27,11 +27,9 @@
MU::Cloud.resourceClass(MU::Config.defaultCloud, "DNSZone").genericMuDNSEntry(flags.first)
end
# Wrapper for {MU::Cloud::AWS::DNSZone.manageRecord}. Spawns threads to create all
# requested records in background and returns immediately.
- # @param cfg [Array]: An array of parsed {MU::Config::BasketofKittens::dnszones::records} objects.
- # @param target [String]: Optional target for the records to be created. Overrides targets embedded in cfg records.
def self.createRecordsFromConfig(*flags)
cloudclass = MU::Cloud.resourceClass(MU::Config.defaultCloud, "DNSZone")
if !flags.nil? and flags.size == 1
cloudclass.createRecordsFromConfig(flags.first)
else