X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..57d7cd3ecda47266cc08d7e97b13e606405eb2a8:/cookbooks/trac/recipes/default.rb diff --git a/cookbooks/trac/recipes/default.rb b/cookbooks/trac/recipes/default.rb index 54ecdca4f..4099810f1 100644 --- a/cookbooks/trac/recipes/default.rb +++ b/cookbooks/trac/recipes/default.rb @@ -17,28 +17,9 @@ # limitations under the License. # -include_recipe "apache" +include_recipe "podman::apache" -apache_module "rewrite" - -directory "/srv/trac.openstreetmap.org" do - owner "root" - group "root" - mode "0755" -end - -cookbook_file "/srv/trac.openstreetmap.org/tickets.map" do - owner "root" - group "root" - mode "0644" -end - -ssl_certificate "trac.openstreetmap.org" do - domains ["trac.openstreetmap.org", "trac.osm.org"] - notifies :reload, "service[apache2]" -end - -apache_site "trac.openstreetmap.org" do - template "apache.erb" - variables :user => "trac", :group => "trac", :aliases => ["trac.osm.org"] +podman_site "trac.openstreetmap.org" do + image "ghcr.io/openstreetmap/trac-website:latest" + aliases ["trac.osm.org"] end