[cubicweb] make pillar optionnal
authorArthur Lutz <arthur.lutz@logilab.fr>
Fri, 10 Jul 2015 17:58:38 +0200
changeset 45 8ef114703e33
parent 44 74bfdb78987d
child 46 c5cb7d2528ac
[cubicweb] make pillar optionnal
cubicweb/init.sls
--- a/cubicweb/init.sls	Fri Jul 10 17:55:51 2015 +0200
+++ b/cubicweb/init.sls	Fri Jul 10 17:58:38 2015 +0200
@@ -46,7 +46,7 @@
     - require:
       - pkg: cw-logilab-deps
 
-{% if pillar['cw-basecubes']['install'] %}
+{% if pillar.get('cw-basecubes',{}).get('install', False) %}
 cw-basecubes:
   pkg.installed:
     - pkgs: