]> git.openstreetmap.org Git - chef.git/blobdiff - roles/rhaegal.rb
Enable netplan for NZ tile caches
[chef.git] / roles / rhaegal.rb
index 6997afa571737f608503e37b1b1faed5c82dd9c5..6d0b126c30154f761bff5c00a1cf4302661c62fe 100644 (file)
@@ -7,6 +7,9 @@ default_attributes(
       :mmiler => { :status => :administrator }
     }
   },
+  :apt => {
+    :sources => ["postgresql"]
+  },
   :devices => {
     :ssd_samsung => {
       :comment => "Tune scheduler for SSD",
@@ -22,6 +25,7 @@ default_attributes(
   },
   :location => "Zagreb, Croatia",
   :networking => {
+    :netplan => true,
     :interfaces => {
       :external_ipv4 => {
         :interface => "enp1s0f0",
@@ -29,7 +33,8 @@ default_attributes(
         :family => :inet,
         :address => "10.5.0.77",
         :prefix => "16",
-        :gateway => "10.5.0.1"
+        :gateway => "10.5.0.1",
+        :public_address => "161.53.248.77"
       }
     },
     :nameservers => [
@@ -58,7 +63,8 @@ default_attributes(
   },
   :tile => {
     :database => {
-      :cluster => "10/main"
+      :cluster => "10/main",
+      :postgis => "2.4"
     },
     :node_file => "/store/database/nodes",
     :styles => {