Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
MON-4737
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Jan 24, 2020
1 parent 8e7b87a commit 70e2c59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion www/install/steps/process/configFileSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,16 @@
);

/**
* configuration file used by the Gorgone daemon module
* Database configuration file
*/
$gorgoneDatabaseFile = $centreonEtcPath . '/config.d/10-database.yaml';
$contents = file_get_contents('../../var/databaseTemplate.yaml');
$contents = preg_replace($patterns, $replacements, $contents);
file_put_contents($gorgoneDatabaseFile, $contents);

/**
* Gorgone daemon configuration file for a central
*/
$gorgoneCoreFileForCentral = $centreonEtcPath . '/config.d/20-gorgoned.yaml';
$contents = file_get_contents('../../var/gorgone/gorgoneCoreTemplate.yaml');
$contents = preg_replace($patterns, $replacements, $contents);
Expand Down

0 comments on commit 70e2c59

Please sign in to comment.