lib/invoker/power/dns.rb in invoker-1.4.1 vs lib/invoker/power/dns.rb in invoker-1.5.1

- old
+ new

@@ -29,10 +29,10 @@ def resource_class_matches?(resource_class) resource_class == Resolv::DNS::Resource::IN::A end def name_matches?(name) - name =~ /.*\.dev/ + name =~ /.*\.#{Invoker.config.tld}/ end end end end