anonymous credentials can be specified in the pillar (closes #5341014)
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 07 May 2015 18:00:20 +0200
changeset 20 e1732ce091ca
parent 19 5583ce316f3f
child 21 3621ca1f4b9e
anonymous credentials can be specified in the pillar (closes #5341014)
cubicweb/instances.sls
--- a/cubicweb/instances.sls	Thu May 07 17:59:17 2015 +0200
+++ b/cubicweb/instances.sls	Thu May 07 18:00:20 2015 +0200
@@ -25,6 +25,8 @@
   cubicweb_instance.present:
     - name: {{name}}
     - port: {{config.cwapp.port}}
+    - anonymous-user: {{ config.cwapp.get('anonuser') }}
+    - anonymous-password: {{ config.cwapp.get('anonpass') }}
     - admin/login: {{config.cwapp.adminuser}}
     - admin/password: {{config.cwapp.adminpass}}
     - cubes: {{config.cwapp.cubes.keys()}}