X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d1b835abf6c54e768ead54dd0056011554ba0b71..97aac1724da5fd406b0be6c892f43a94e846e9b8:/cookbooks/irc/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/irc/recipes/default.rb b/cookbooks/irc/recipes/default.rb index 7fbc7ff74..7ebcfc7ba 100644 --- a/cookbooks/irc/recipes/default.rb +++ b/cookbooks/irc/recipes/default.rb @@ -17,31 +17,9 @@ # limitations under the License. # -include_recipe "apache" +include_recipe "podman::apache" -ssl_certificate "irc.openstreetmap.org" do - domains ["irc.openstreetmap.org", "irc.osm.org"] - notifies :reload, "service[apache2]" -end - -directory "/srv/irc.openstreetmap.org" do - owner "root" - group "root" - mode "755" -end - -remote_directory "/srv/irc.openstreetmap.org/html" do - source "html" - owner "root" - group "root" - mode "755" - files_owner "root" - files_group "root" - files_mode "644" -end - -apache_site "irc.openstreetmap.org" do - template "apache.erb" - directory "/srv/irc.openstreetmap.org/html" - variables :aliases => ["irc.osm.org"] +podman_site "irc.openstreetmap.org" do + image "ghcr.io/openstreetmap/irc:latest" + aliases ["irc.osm.org"] end