From 865ed20e48ab5fb6929ae34711383b585c2cb0aa Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 7 Oct 2025 13:30:13 +0100 Subject: [PATCH] foundation: add funding-manifest-urls to osmfoundation.org --- .../files/default/.well-known/funding-manifest-urls | 1 + cookbooks/foundation/recipes/wiki.rb | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 cookbooks/foundation/files/default/.well-known/funding-manifest-urls diff --git a/cookbooks/foundation/files/default/.well-known/funding-manifest-urls b/cookbooks/foundation/files/default/.well-known/funding-manifest-urls new file mode 100644 index 000000000..a51eb6de3 --- /dev/null +++ b/cookbooks/foundation/files/default/.well-known/funding-manifest-urls @@ -0,0 +1 @@ +https://www.openstreetmap.org/funding.json \ No newline at end of file diff --git a/cookbooks/foundation/recipes/wiki.rb b/cookbooks/foundation/recipes/wiki.rb index ead5694cd..b6c993bb5 100644 --- a/cookbooks/foundation/recipes/wiki.rb +++ b/cookbooks/foundation/recipes/wiki.rb @@ -63,3 +63,10 @@ template "/srv/osmfoundation.org/robots.txt" do mode "644" source "robots.txt.erb" end + +cookbook_file "/srv/osmfoundation.org/.well-known/funding-manifest-urls" do + owner node[:mediawiki][:user] + group node[:mediawiki][:group] + mode "644" + source ".well-known/funding-manifest-urls" +end -- 2.39.5