fix(config): ensure AnonymousUserToken is set
[arvados-formula.git] / test / salt / pillar / arvados_dev.sls
index 35a5bffc154b169f586e67778007b38fbf03ffaa..1dcc78b8844db43c9b547f8de49806599fb47f5e 100644 (file)
@@ -67,6 +67,13 @@ arvados:
       user: arvados
       extra_conn_params:
         client_encoding: UTF8
+      # Centos7 does not enable SSL by default, so we disable
+      # it here just for testing of the formula purposes only.
+      # You should not do this in production, and should
+      # configure Postgres certificates correctly
+      {%- if grains.os_family in ('RedHat',) %}
+        sslmode: disable
+      {%- endif %}
 
     tls:
       # certificate: ''
@@ -78,7 +85,6 @@ arvados:
     tokens:
       system_root: changemesystemroottoken
       management: changememanagementtoken
-      anonymous_user: changemeanonymoususertoken
 
     ### KEYS
     secrets:
@@ -108,6 +114,7 @@ arvados:
           Root: /tmp
 
     Users:
+      AnonymousUserToken: anonymoususertokensetintheusersdict
       NewUsersAreActive: true
       AutoAdminFirstUser: true
       AutoSetupNewUsers: true