cli/jobs: temporarily add renderconfig action
This commit is contained in:
parent
25a599cc53
commit
1ff5e7a6cc
|
@ -5,6 +5,7 @@ namespace Icinga\Module\Director\Clicommands;
|
||||||
use Icinga\Module\Director\Cli\Command;
|
use Icinga\Module\Director\Cli\Command;
|
||||||
use Icinga\Module\Director\Objects\ImportSource;
|
use Icinga\Module\Director\Objects\ImportSource;
|
||||||
use Icinga\Module\Director\Objects\SyncRule;
|
use Icinga\Module\Director\Objects\SyncRule;
|
||||||
|
use Icinga\Module\Director\IcingaConfig\IcingaConfig;
|
||||||
use Icinga\Module\Director\Import\Import;
|
use Icinga\Module\Director\Import\Import;
|
||||||
use Icinga\Module\Director\Import\Sync;
|
use Icinga\Module\Director\Import\Sync;
|
||||||
use Icinga\Application\Benchmark;
|
use Icinga\Application\Benchmark;
|
||||||
|
@ -25,6 +26,11 @@ class JobsCommand extends Command
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function renderconfigAction()
|
||||||
|
{
|
||||||
|
IcingaConfig::generate($this->db());
|
||||||
|
}
|
||||||
|
|
||||||
protected function hasBeenDisabled()
|
protected function hasBeenDisabled()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue