pillar.example
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Fri, 05 Jun 2015 18:06:03 +0200
changeset 40 54b3058cbca9
parent 39 f4ce04853cb1
child 43 854eb1b5998c
permissions -rw-r--r--
[postgres] add `lc_collate` and `lc_ctype` (closes #5438104)

## Apache related configurations
apache: 
  disable_default: False # set to True to disable default apache configuration (000-default)
  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: True # set to True to install postgresql on same host

cubicweb_repo: production # set to acceptance if you want more recent versions of cubicweb 

## you may specify a precise cw version (package version). If set, the
## 'cubicweb_repo' option is ignored
#cubicweb_version: 3.20.5-1

## you may specify a precise postgresql version (package version). If set, the
## 'postgresql_version' option is ignored
# postgresql_version: 9.4

## you can add extra repository sources
#extra_sources:
#  - deb https://user:password@domain.com/path/dists/ wheezy/
## you can specify your own repository sources  instead of logilab default
debian_pkgrepos:
  pkgrepository_name: # cf. logilab-public-production
    sls: pkgrepository # cf. logilab.public

## Declare your cubicweb applications there
cubicweb_apps:
  www.cubicweb.org:
    demo1:
      database:
        name: cw_blog
        user: logidemo
        password: logidemo
        host: localhost
        lc_collate: us_US.UTF-8
        lc_ctype: us_US.UTF-8
        superuser: True # will create postgres user logidemo as superuser
        port: 5432
      cwapp:
        basepath: /demo/blog # will be served as http(s)://www.cubicweb.org/demo/blog
        port: 9090
        adminuser: admin
        adminpass: admin
        create_db: True # will execute cubiweb db-create
        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

  test_app:
    /:
      database:
        name: testapp
        user: testuser
        password: something cool
      cwapp:
        port: 8080
        adminuser: admin
        adminpass: admin
        cubes:
          blog: cubicweb-blog: 1.9.7-1 # be careful, no version depency checks are done there
## install base cw cubes
cw-basecubes:
  install: True