]> git.openstreetmap.org Git - chef.git/commitdiff
Allow database connections from VPN addresses
authorTom Hughes <tom@compton.nu>
Mon, 9 May 2016 17:08:34 +0000 (18:08 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 9 May 2016 17:08:34 +0000 (18:08 +0100)
roles/db.rb

index 40bbcacaa3b2729f14cd7c969c8830b355df7516..b1c9e4f05be1c9dad93cb6d6e958f74c319ededa 100644 (file)
@@ -50,6 +50,7 @@ default_attributes(
         :cpu_tuple_cost => "0.1",
         :late_authentication_rules => [
           { :address => "146.179.159.160/27" },
         :cpu_tuple_cost => "0.1",
         :late_authentication_rules => [
           { :address => "146.179.159.160/27" },
+          { :address => "10.0.16.0/20" },
           { :address => "10.0.32.0/20" }
         ]
       }
           { :address => "10.0.32.0/20" }
         ]
       }