From ea154b090ca0e115b1e160e4e243a01a1b9f4085 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 30 Sep 2024 11:46:58 +0100 Subject: [PATCH] Add missing imagery attributes --- cookbooks/imagery/attributes/default.rb | 2 ++ roles/lockheed.rb | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 cookbooks/imagery/attributes/default.rb diff --git a/cookbooks/imagery/attributes/default.rb b/cookbooks/imagery/attributes/default.rb new file mode 100644 index 000000000..1dc162ac3 --- /dev/null +++ b/cookbooks/imagery/attributes/default.rb @@ -0,0 +1,2 @@ +default[:accounts][:users][:imagery][:status] = :role +default[:nginx][:cache][:proxy][:enable] = true diff --git a/roles/lockheed.rb b/roles/lockheed.rb index b03347148..8f42973e6 100644 --- a/roles/lockheed.rb +++ b/roles/lockheed.rb @@ -28,6 +28,16 @@ default_attributes( } } } + }, + :nginx => { + :cache => { + :proxy => { + :enable => true, + :keys_zone => "proxy_cache_zone:256M", + :inactive => "180d", + :max_size => "51200M" + } + } } ) -- 2.39.5