pillar.example
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 17 Apr 2015 11:01:18 +0200
changeset 17 6d8fa850acf5
parent 16 ca7406abadd9
child 25 83c1a8d26a29
permissions -rw-r--r--
Make cubicweb SLS independant of cubicweb.instances one For instance, one could only want to install the cubicweb environment without deploying an instance.

apache: 
  enable: False # set to True if you want to deploy an apache in proxy mode
  disable_default: False # set to True to disable default apache configuration
  modules: #this requires the https://github.com/saltstack-formulas/apache-formula formula
    enabled:
       - rewrite #list of modules to enable
  vhost_conf: | 
    # insert inline configuration
    # lines here, valid for all vhosts

postgresql:
  enable: False # set to True to install postgresql on same host

cubicweb_repo: production # set to acceptance if you want more recent versions of cubicweb 
#cubicweb_version: # enter debian package version to pin down your install, cubicweb_repo is then ignored

extra_source: deb https://user:password@domain.com/path/dists/ wheezy/

cubicweb_apps:
  www.cubicweb.org:
    demo1:
      database:
        name: cw_blog
        user: logidemo
        password: logidemo
        host: db1
        port: 5432
      cwapp:
        basepath: /demo/blog
        port: 9090
        adminuser: admin
        adminpass: admin
        cubes:
          blog: cubicweb-blog
    demo2:
      database:
        name: cw_demo2
        user: logidemo
        password: logidemo
        host: db1
        port: 5432
      cwapp:
        basepath: /demo/demo2
        port: 9091
        adminuser: admin
        adminpass: admin
        cubes:
          blog: cubicweb-blog
      apache: | 
        #additional configuration specific to demo2