[icinga-checkins] icinga.org: icingaweb2-module-director/master: KickstartCommand: provide kickstart.ini sample

git at icinga.org git at icinga.org
Thu Feb 18 19:42:04 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 16948fa78937876628c3202be5e720bd18c4e7b7
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=16948fa78937876628c3202be5e720bd18c4e7b7

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Feb 18 17:05:34 2016 +0100

KickstartCommand: provide kickstart.ini sample

---

 application/clicommands/KickstartCommand.php |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/application/clicommands/KickstartCommand.php b/application/clicommands/KickstartCommand.php
index bba6513..e1ee79c 100644
--- a/application/clicommands/KickstartCommand.php
+++ b/application/clicommands/KickstartCommand.php
@@ -58,6 +58,22 @@ class KickstartCommand extends Command
      * This will connect to the endpoint configured in your kickstart.ini,
      * store the given API user and import existing objects like zones,
      * endpoints and commands.
+     *
+     * /etc/icingaweb2/modules/director/kickstart.ini could look as follows:
+     *
+     *    [config]
+     *    endpoint = "master-node.example.com"
+     *
+     *    ; Host can be an IP address or a hostname. Equals to endpoint name
+     *    ; if not set:
+     *    host = "127.0.0.1"
+     *
+     *    ; Port is 5665 if none given
+     *    port = 5665
+     *
+     *    usename = "director"
+     *    password = "***"
+     *
      */
     public function runAction()
     {



More information about the icinga-checkins mailing list