mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 04:12:02 +00:00
puppet: Read camo key from zulip-secrets.conf.
This commit is contained in:
@@ -23,6 +23,8 @@ CAMO_CONFIG_FILENAME = '/etc/default/camo'
|
||||
AUTOGENERATED_SETTINGS = ['shared_secret', 'avatar_salt', 'rabbitmq_password', 'local_database_password',
|
||||
'initial_password_salt']
|
||||
|
||||
# TODO: We can eliminate this function if we refactor the install
|
||||
# script to run generate_secrets before zulip-puppet-apply.
|
||||
def generate_camo_config_file(camo_key):
|
||||
camo_config = """ENABLED=yes
|
||||
PORT=9292
|
||||
|
||||
Reference in New Issue
Block a user