]> git.openstreetmap.org Git - chef.git/commitdiff
Add missing imagery attributes
authorGrant Slater <github@firefishy.com>
Mon, 30 Sep 2024 10:46:58 +0000 (11:46 +0100)
committerGrant Slater <github@firefishy.com>
Mon, 30 Sep 2024 10:46:58 +0000 (11:46 +0100)
cookbooks/imagery/attributes/default.rb [new file with mode: 0644]
roles/lockheed.rb

diff --git a/cookbooks/imagery/attributes/default.rb b/cookbooks/imagery/attributes/default.rb
new file mode 100644 (file)
index 0000000..1dc162a
--- /dev/null
@@ -0,0 +1,2 @@
+default[:accounts][:users][:imagery][:status] = :role
+default[:nginx][:cache][:proxy][:enable] = true
index b03347148a8b8f99b6a7316aa24249ff01a89301..8f42973e6256375891cabb2d43c5a32de8d9e646 100644 (file)
@@ -28,6 +28,16 @@ default_attributes(
         }
       }
     }
         }
       }
     }
+  },
+  :nginx => {
+    :cache => {
+      :proxy => {
+          :enable => true,
+          :keys_zone => "proxy_cache_zone:256M",
+          :inactive => "180d",
+          :max_size => "51200M"
+      }
+    }
   }
 )
 
   }
 )