Hey, it should be icinga2 node setup --help and check that, but worse case scenario you can use expect
http://linux.die.net/man/1/expect Cheers On 27-Oct-15 12:40 PM, [email protected] wrote: > Hi all, > > there is `node wizard` to configure a new icinga2 master or client with > interaction. It generates the pki-infrastructure and the neccessary > zones.conf/constants.conf-files. > > For our salt-environment, I need a way to do this without interaction. > > I found a solution for the client. In the documentation, there is a way > described, using the `pki` and `node set` commands. This also adapts the > zones.conf/constants.conf-files. > > But: Is there a way to configure a master over command-line and cli > arguments? And generate the neccessary zones.conf/constant.conf-files, > too? I found a way to create the PKI (quite similar to the client), but no > way to create the configs. At the moment, I adapt the files with a python > script, but this seems to be quite error prone. > > Is there any other feature/command by native icinga2 to generate the > zones.conf-file for the master? > > ~ Benedikt > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.icinga.org/mailman/listinfo/icinga-users >
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
