X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f626dd7711d75c0d18af02449f20b58c99ea27d8..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/cookbooks/subversion/recipes/default.rb diff --git a/cookbooks/subversion/recipes/default.rb b/cookbooks/subversion/recipes/default.rb index 7cba5bc73..3ce35840b 100644 --- a/cookbooks/subversion/recipes/default.rb +++ b/cookbooks/subversion/recipes/default.rb @@ -17,40 +17,9 @@ # limitations under the License. # -include_recipe "apache" +include_recipe "podman::apache" -package "subversion" do - action :remove -end - -apache_module "dav" do - action :disable -end - -apache_module "dav_fs" do - action :disable -end - -apache_module "dav_svn" do - package "libapache2-mod-svn" - action [:disable, :delete] -end - -apache_module "authz_svn" do - package "libapache2-mod-svn" - action [:disable, :delete] -end - -ssl_certificate "svn.openstreetmap.org" do - domains ["svn.openstreetmap.org", "svn.osm.org"] - notifies :reload, "service[apache2]" -end - -apache_site "svn.openstreetmap.org" do - template "apache.erb" - variables :aliases => ["svn.osm.org"] -end - -file "/etc/cron.daily/svn-backup" do - action :delete +podman_site "svn.openstreetmap.org" do + image "ghcr.io/openstreetmap/svn-website:latest" + aliases ["svn.osm.org"] end