From: Grant Slater Date: Thu, 16 May 2024 00:07:52 +0000 (+0100) Subject: discourse: add quoting X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d5bc6c029a4961f3aad5a9f488370468f8df88dc discourse: add quoting --- diff --git a/cookbooks/community/templates/default/web_only.yml.erb b/cookbooks/community/templates/default/web_only.yml.erb index b4ca5d2cc..551be5800 100644 --- a/cookbooks/community/templates/default/web_only.yml.erb +++ b/cookbooks/community/templates/default/web_only.yml.erb @@ -118,7 +118,7 @@ hooks: # FIXME: Workaround until https://github.com/discourse/discourse/pull/27040 merged cd: $home cmd: - - sudo -H -E -u discourse sed -i 's/follow_redirect: false,/follow_redirect: true,/' lib/discourse_ip_info.rb + - "sudo -H -E -u discourse sed -i 's/follow_redirect: false,/follow_redirect: true,/' lib/discourse_ip_info.rb" after_ssl: - replace: filename: "/etc/nginx/conf.d/discourse.conf"