From b7d157cf1b94d8c513535fa10c02fe96a7c2f201 Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 23 Jul 2020 10:07:16 +0200 Subject: [PATCH] configuration pour envolemigration --- dicos/91_ninegate.xml | 9 +++++++++ tmpl/ninegate-db.yml | 7 +++++++ tmpl/ninegate-migration.php | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 tmpl/ninegate-migration.php diff --git a/dicos/91_ninegate.xml b/dicos/91_ninegate.xml index 8dc5c927..0e4e3f14 100644 --- a/dicos/91_ninegate.xml +++ b/dicos/91_ninegate.xml @@ -15,6 +15,8 @@ + + ninegate @@ -452,9 +454,16 @@ ninegate_dbpass ninegate + ninegate-migration + ninegate + + non + ninegate-migration + + LDAP SSO diff --git a/tmpl/ninegate-db.yml b/tmpl/ninegate-db.yml index c09fe698..9c67f725 100644 --- a/tmpl/ninegate-db.yml +++ b/tmpl/ninegate-db.yml @@ -38,3 +38,10 @@ pwd_files: end_pattern: '', owner: 'root:www-data', mod: '660' } +%if %%is_defined('activer_envole_migration') and %%activer_envole_migration == 'oui' + - {file: '%%cnt_prefix/var/www/html/envole-migration/config/config-db-ninegate.php', + pattern: '$dbpwd_ninegate = "', + end_pattern: ';', + owner: 'root:www-data', + mod: '660' } +%end if diff --git a/tmpl/ninegate-migration.php b/tmpl/ninegate-migration.php new file mode 100644 index 00000000..7a6efc68 --- /dev/null +++ b/tmpl/ninegate-migration.php @@ -0,0 +1,34 @@ +getMessage()); +} \ No newline at end of file