From: Grant Slater Date: Mon, 2 Dec 2024 14:45:48 +0000 (+0000) Subject: imagery: add mapserv v8 required config file X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/675a6a3003f8948e33117a637567d143db73e7e4?ds=sidebyside imagery: add mapserv v8 required config file --- diff --git a/cookbooks/imagery/recipes/default.rb b/cookbooks/imagery/recipes/default.rb index 3c04dd8a3..7c1a1f88c 100644 --- a/cookbooks/imagery/recipes/default.rb +++ b/cookbooks/imagery/recipes/default.rb @@ -50,6 +50,13 @@ package %w[ unzip ] +template "/etc/mapserver.conf" do + source "mapserver.conf.erb" + owner "root" + group "root" + mode "644" +end + directory "/srv/imagery/mapserver" do owner "root" group "root" diff --git a/cookbooks/imagery/templates/default/mapserver.conf.erb b/cookbooks/imagery/templates/default/mapserver.conf.erb new file mode 100644 index 000000000..9758ffbd1 --- /dev/null +++ b/cookbooks/imagery/templates/default/mapserver.conf.erb @@ -0,0 +1,5 @@ +CONFIG + ENV + MS_MAP_PATTERN "^/srv/imagery/mapserver/" + END +END