From 1ff5e7a6cc17c134321ffa5509614126db16d4d0 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 28 Feb 2016 16:30:11 +0100 Subject: [PATCH] cli/jobs: temporarily add renderconfig action --- application/clicommands/JobsCommand.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/clicommands/JobsCommand.php b/application/clicommands/JobsCommand.php index 5e574402..7e77b5f9 100644 --- a/application/clicommands/JobsCommand.php +++ b/application/clicommands/JobsCommand.php @@ -5,6 +5,7 @@ namespace Icinga\Module\Director\Clicommands; use Icinga\Module\Director\Cli\Command; use Icinga\Module\Director\Objects\ImportSource; use Icinga\Module\Director\Objects\SyncRule; +use Icinga\Module\Director\IcingaConfig\IcingaConfig; use Icinga\Module\Director\Import\Import; use Icinga\Module\Director\Import\Sync; use Icinga\Application\Benchmark; @@ -25,6 +26,11 @@ class JobsCommand extends Command ; } + public function renderconfigAction() + { + IcingaConfig::generate($this->db()); + } + protected function hasBeenDisabled() { return false;