]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/libraries/ipaddresses.rb
Decrease tile rate limit to 30 TPS
[chef.git] / cookbooks / networking / libraries / ipaddresses.rb
index 9fde5610be525b6a40bf91d8bb418e13f4e5e347..67c89d052192e6574df873751e3a44ea63b42d99 100644 (file)
@@ -18,12 +18,12 @@ class Chef
       addresses
     end
 
-    def internal_ipaddress
-      ipaddresses(:role => :internal).first
+    def internal_ipaddress(options = {})
+      ipaddresses(options.merge(:role => :internal)).first
     end
 
-    def external_ipaddress
-      ipaddresses(:role => :external).first
+    def external_ipaddress(options = {})
+      ipaddresses(options.merge(:role => :external)).first
     end
   end
 end