generate_secrets: Reformat list of autogenerated secrets.

This commit is contained in:
Tim Abbott 2017-05-16 22:02:02 -07:00
parent f970ea935b
commit 03b5200d8b
1 changed files with 8 additions and 2 deletions

View File

@ -26,8 +26,14 @@ os.chdir(os.path.join(os.path.dirname(__file__), '..', '..'))
CAMO_CONFIG_FILENAME = '/etc/default/camo'
AUTOGENERATED_SETTINGS = ['shared_secret', 'avatar_salt', 'rabbitmq_password', 'local_database_password',
'initial_password_salt']
# Standard, 64-bit tokens
AUTOGENERATED_SETTINGS = [
'avatar_salt',
'initial_password_salt',
'local_database_password',
'rabbitmq_password',
'shared_secret',
]
# TODO: We can eliminate this function if we refactor the install
# script to run generate_secrets before zulip-puppet-apply.