More changes from nuancier-lite -> nuancier

This commit is contained in:
Pierre-Yves Chibon 2014-02-08 15:58:34 +00:00
parent 7011ce0e14
commit c6c96c57bb
4 changed files with 7 additions and 7 deletions

View file

@ -23,7 +23,7 @@
dest="{{ item.location }}/{{ item.dest }}" dest="{{ item.location }}/{{ item.dest }}"
owner=apache group=apache mode=0600 owner=apache group=apache mode=0600
with_items: with_items:
- { file: nuancier_admin.cfg, location: /etc/nuancier, dest: nuancier-lite.cfg } - { file: nuancier_admin.cfg, location: /etc/nuancier, dest: nuanciercfg }
tags: tags:
- config - config
notify: notify:
@ -43,16 +43,16 @@
- setup - setup
- name: create the database scheme - name: create the database scheme
command: /usr/bin/python2 /usr/share/nuancier/nuancier-lite_createdb.py command: /usr/bin/python2 /usr/share/nuancier/nuancier_createdb.py
environment: environment:
NUANCIER_CONFIG: /etc/nuancier/nuancier-lite.cfg NUANCIER_CONFIG: /etc/nuancier/nuancier.cfg
- name: replace the nuancier configuration file by the one with the normal user - name: replace the nuancier configuration file by the one with the normal user
template: src={{ item.file }} template: src={{ item.file }}
dest="{{ item.location }}/{{ item.file }}" dest="{{ item.location }}/{{ item.file }}"
owner=apache group=apache mode=0600 owner=apache group=apache mode=0600
with_items: with_items:
- { file: nuancier-lite.cfg, location: /etc/nuancier } - { file: nuancier.cfg, location: /etc/nuancier }
- { file: nuancier.conf, location: /etc/httpd/conf.d } - { file: nuancier.conf, location: /etc/httpd/conf.d }
- { file: nuancier.wsgi, location: /usr/share/nuancier } - { file: nuancier.wsgi, location: /usr/share/nuancier }
tags: tags:

View file

@ -8,7 +8,7 @@ SECRET_KEY='{{ nuancier_secret_key }}'
### url to the database server: ### url to the database server:
DB_URL='postgresql://{{ nuancier_db_user }}:{{ nuancier_db_pass }}@{{ nuancier_db_host }}/{{ nuancier_db_name }}' DB_URL='postgresql://{{ nuancier_db_user }}:{{ nuancier_db_pass }}@{{ nuancier_db_host }}/{{ nuancier_db_name }}'
### The FAS groups in which the admin of nuancier-lite are ### The FAS groups in which the admin of nuancier are
### This can either be a single group or multiple, defined between ### This can either be a single group or multiple, defined between
### parenthesis. ### parenthesis.
ADMIN_GROUP=('sysadmin-nuancier', 'sysadmin-main') ADMIN_GROUP=('sysadmin-nuancier', 'sysadmin-main')

View file

@ -9,7 +9,7 @@ import pkg_resources
import os import os
# Set the environment variable pointing to the configuration file # Set the environment variable pointing to the configuration file
os.environ['NUANCIER_CONFIG'] = '/etc/nuancier/nuancier-lite.cfg' os.environ['NUANCIER_CONFIG'] = '/etc/nuancier/nuancier.cfg'
# The most import line to make the wsgi working # The most import line to make the wsgi working
from nuancier import APP as application from nuancier import APP as application

View file

@ -8,7 +8,7 @@ SECRET_KEY='{{ nuancier_secret_key }}'
### url to the database server: ### url to the database server:
DB_URL='postgresql://{{ nuancier_db_admin_user }}:{{ nuancier_db_admin_pass }}@{{ nuancier_db_host }}/{{ nuancier_db_name }}' DB_URL='postgresql://{{ nuancier_db_admin_user }}:{{ nuancier_db_admin_pass }}@{{ nuancier_db_host }}/{{ nuancier_db_name }}'
### The FAS groups in which the admin of nuancier-lite are ### The FAS groups in which the admin of nuancier are
### This can either be a single group or multiple, defined between ### This can either be a single group or multiple, defined between
### parenthesis. ### parenthesis.
ADMIN_GROUP=('sysadmin-nuancier', 'sysadmin-main') ADMIN_GROUP=('sysadmin-nuancier', 'sysadmin-main')