Make enable notifications a flag

So that it can be disabled.

Change-Id: I04d20b491cfa0c897160d9fc78c37a164cd09122
This commit is contained in:
James E. Blair 2014-08-26 10:48:24 -07:00 committed by Jeremy Stanley
parent 7e7064297f
commit cd3f27298d
2 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,8 @@ class storyboard::application (
$rabbitmq_port = 5672,
$rabbitmq_vhost = '/',
$rabbitmq_user = 'storyboard',
$rabbitmq_user_password = 'changemetoo'
$rabbitmq_user_password = 'changemetoo',
$enable_notifications = 'True'
) {
# Variables

View File

@ -48,7 +48,7 @@ refresh_token_ttl = <%= @refresh_token_ttl %>
# Enable notifications. This feature drives deferred processing, reporting,
# and subscriptions.
enable_notifications = True
enable_notifications = <%= @enable_notifications %>
[database]
# This line MUST be changed to actually run storyboard