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

Commit

Permalink
fix(core): naming of file and field type
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Dec 2, 2019
1 parent 3f2b317 commit 27df588
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions www/install/steps/process/configFileSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
$gorgoneReplacements = [
"/var/spool/centreon",
"0.0.0.0",
8085,
false,
"8085",
"false",
"/etc/snmp/centreon_traps",
];

Expand All @@ -120,7 +120,7 @@
* gorgone.yaml
* configuration file used by the Gorgone module in a full ZMQ mode
*/
$centreonGorgonedConfFile = $centreonEtcPath . '/gorgone.yaml';
$centreonGorgonedConfFile = $centreonEtcPath . '/gorgoned.yml';
$contents = file_get_contents('../../var/configFileGorgoneTemplate');
$contents = preg_replace($patterns, $replacements, $contents);
$contents = preg_replace($gorgonePatterns, $gorgoneReplacements, $contents);
Expand Down
12 changes: 6 additions & 6 deletions www/install/var/configFileGorgoneTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ gorgonecore:
vector: 0123456789012345
modules:
- name: httpserver
package: gorgone::modules::core::httpserver::hooks
package: "gorgone::modules::core::httpserver::hooks"
enable: true
address: "--HTTPSERVERADDRESS--"
port: "--HTTPSERVERPORT--"
ssl: "--SSLMODE--"
ssl: --SSLMODE--

- name: action
package: gorgone::modules::core::action::hooks
package: "gorgone::modules::core::action::hooks"
enable: true

- name: cron
Expand All @@ -39,19 +39,19 @@ modules:
keep_token: true

- name: proxy
package: gorgone::modules::core::proxy::hooks
package: "gorgone::modules::core::proxy::hooks"
enable: true

- name: legacycmd
package: gorgone::modules::centreon::legacycmd::hooks
package: "gorgone::modules::centreon::legacycmd::hooks"
enable: true
cmd_file: "--CENTREON_VARLIB--/centcore.cmd"
cache_dir: "--CENTREON_CACHEDIR--"
cache_dir_trap: "--CENTREON_TRAPDIR--"
remote_dir: "--CENTREON_VARLIB--/remote-data/"

- name: engine
package: gorgone::modules::centreon::engine::hooks
package: "gorgone::modules::centreon::engine::hooks"
enable: true
command_file: "--CENTREON_VARLIB---engine/rw/centengine.cmd"

Expand Down

0 comments on commit 27df588

Please sign in to comment.