Skip to content

Commit 8cbcd16

Browse files
committed
fix boolean formatting for ENABLE_ANALYTICS
1 parent 674a797 commit 8cbcd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/pulp/templates/settings.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ DATABASES = {
1717
AUTHENTICATION_BACKENDS=['pulpcore.app.authentication.PulpNoCreateRemoteUserBackend']
1818
REMOTE_USER_ENVIRON_NAME="HTTP_REMOTE_USER"
1919
REST_FRAMEWORK__DEFAULT_AUTHENTICATION_CLASSES=('rest_framework.authentication.SessionAuthentication', 'pulpcore.app.authentication.PulpRemoteUserAuthentication')
20-
ENABLE_ANALYTICS = {{ pulp_enable_analytics | default(false) }}
20+
ANALYTICS = {{ pulp_enable_analytics | default(false) | bool | ternary('True', 'False') }}

0 commit comments

Comments
 (0)