cli/jobs: temporarily add renderconfig action

This commit is contained in:
Thomas Gelf 2016-02-28 16:30:11 +01:00
parent 25a599cc53
commit 1ff5e7a6cc
1 changed files with 6 additions and 0 deletions

View File

@ -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;