]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/community/templates/default/web_only.yml.erb
discourse: add quoting
[chef.git] / cookbooks / community / templates / default / web_only.yml.erb
index b4ca5d2cc9c7ebf048074ff87315eb7d9bc56c39..551be580045735e5a42d35d34b98a98490f9023f 100644 (file)
@@ -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"