puppet: Default go-camo to listening on localhost for standalone deploys.

The default in the previous commit, inherited from camo, was to bind
to 0.0.0.0:9292.  In standalone deployments, camo is deployed on the
same host as the nginx reverse proxy, and as such there is no need to
open it up to other IPs.

Make `zulip::camo` take an optional parameter, which allows overriding
it in puppet, but skips a `zulip.conf` setting for it, since it is
unlikely to be adjust by most users.

(cherry picked from commit c514feaa22)
This commit is contained in:
Alex Vandiver
2021-11-18 14:50:24 -08:00
parent cd5eec5eea
commit 399391c3aa
4 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
class zulip_ops::camo {
include zulip::camo
class { 'zulip::camo':
listen_address => '0.0.0.0',
}
}