update configuration
This commit is contained in:
parent
3b15634a55
commit
fc97ee1c63
|
@ -18,6 +18,18 @@
|
||||||
<value>lemur</value>
|
<value>lemur</value>
|
||||||
</variable>
|
</variable>
|
||||||
<variable name='lemur_admin_password' type='password' description="Mot de passe de l'utilisateur admin de Lemur" auto_save="True"/>
|
<variable name='lemur_admin_password' type='password' description="Mot de passe de l'utilisateur admin de Lemur" auto_save="True"/>
|
||||||
|
<variable name='lemur_admin_email' type='mail' description="Adresse courriel d'administration de Lemur" mandatory="True"/>
|
||||||
|
<variable name='lemur_default_country' type='' description="" mandatory="True">
|
||||||
|
<value>FR</value>
|
||||||
|
</variable>
|
||||||
|
<variable name='lemur_default_state' type='' description="" mandatory="True">
|
||||||
|
<value>Bourgogne</value>
|
||||||
|
</variable>
|
||||||
|
<variable name='lemur_default_location' type='' description="" mandatory="True">
|
||||||
|
<value>Dijon</value>
|
||||||
|
</variable>
|
||||||
|
<variable name='lemur_default_organization' type='' description="" mandatory="True"/>
|
||||||
|
<variable name='lemur_default_organization_unit' type='' description="" mandatory="True"/>
|
||||||
</family>
|
</family>
|
||||||
</variables>
|
</variables>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
|
|
@ -12,6 +12,9 @@ chown lemur: /var/log/lemur/
|
||||||
chmod 640 /etc/lemur/*
|
chmod 640 /etc/lemur/*
|
||||||
chgrp lemur /etc/lemur/*
|
chgrp lemur /etc/lemur/*
|
||||||
systemctl start postgresql.service
|
systemctl start postgresql.service
|
||||||
|
psql -Upostgres -c "grant all on all tables in schema public to lemur" lemur
|
||||||
|
psql -Upostgres -c "grant all on all sequences in schema public to lemur" lemur
|
||||||
|
psql -Upostgres -c "grant all on all functions in schema public to lemur" lemur
|
||||||
su - lemur -s /bin/bash -c "lemur --config=/etc/lemur/lemur.conf.py init --password $(CreoleGet lemur_admin_password)"
|
su - lemur -s /bin/bash -c "lemur --config=/etc/lemur/lemur.conf.py init --password $(CreoleGet lemur_admin_password)"
|
||||||
systemctl stop postgresql.service
|
systemctl stop postgresql.service
|
||||||
|
|
||||||
|
|
|
@ -24,16 +24,20 @@ LEMUR_ALLOWED_DOMAINS = []
|
||||||
|
|
||||||
# Mail Server
|
# Mail Server
|
||||||
|
|
||||||
LEMUR_EMAIL = ''
|
LEMUR_EMAIL = '%%lemur_admin_email'
|
||||||
LEMUR_SECURITY_TEAM_EMAIL = []
|
LEMUR_SECURITY_TEAM_EMAIL = []
|
||||||
|
|
||||||
# Certificate Defaults
|
# Certificate Defaults
|
||||||
|
|
||||||
LEMUR_DEFAULT_COUNTRY = ''
|
LEMUR_DEFAULT_COUNTRY = '%%lemur_default_country'
|
||||||
LEMUR_DEFAULT_STATE = ''
|
LEMUR_DEFAULT_STATE = '%%lemur_default_state'
|
||||||
LEMUR_DEFAULT_LOCATION = ''
|
LEMUR_DEFAULT_LOCATION = '%%lemur_default_location'
|
||||||
LEMUR_DEFAULT_ORGANIZATION = ''
|
LEMUR_DEFAULT_ORGANIZATION = '%%lemur_default_organization'
|
||||||
LEMUR_DEFAULT_ORGANIZATIONAL_UNIT = ''
|
LEMUR_DEFAULT_ORGANIZATIONAL_UNIT = '%%lemur_default_organization_unit'
|
||||||
|
|
||||||
|
# Default issuer
|
||||||
|
|
||||||
|
LEMUR_DEFAULT_ISSUER_PLUGIN = 'cryptography-issuer'
|
||||||
|
|
||||||
# Authentication Providers
|
# Authentication Providers
|
||||||
ACTIVE_PROVIDERS = []
|
ACTIVE_PROVIDERS = []
|
||||||
|
@ -45,6 +49,7 @@ METRIC_PROVIDERS = []
|
||||||
|
|
||||||
LOG_LEVEL = "DEBUG"
|
LOG_LEVEL = "DEBUG"
|
||||||
LOG_FILE = "/var/log/lemur/lemur.log"
|
LOG_FILE = "/var/log/lemur/lemur.log"
|
||||||
|
LOG_UPGRADE_FILE = '/var/log/lemur/db_upgrade.log'
|
||||||
|
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
|
|
Loading…
Reference in New Issue