New in version 2017.7.0.
Icinga2 Python module
See salt.modules.icinga2
for setup instructions.
The icinga2 module is used to execute commands. Its output may be stored in a file or in a grain.
command_id:
icinga2.generate_ticket:
- name: domain.tld
- output: "/tmp/query_id.txt"
Generate an icinga2 certificate and key on the client.
The domain name for which this certificate and key will be generated
Generate an icinga2 ticket on the master.
The domain name for which this ticket will be generated
grain: output in a grain other: the file to store results None: output to the result comment (default)
grain to store the output (need output=grain)
the specified grain will be treated as a dictionary, the result of this state will be stored under the specified key.
The file or grain will be overwritten if it already exists (default)
Setup the icinga2 node.
The domain name for which this certificate will be saved
Icinga2 master node for which this certificate will be saved
Authentication ticket generated on icinga2 master
Request CA certificate from master icinga2 node.
The domain name for which this certificate will be saved
Icinga2 master node for which this certificate will be saved
Authentication ticket generated on icinga2 master
Icinga2 port, defaults to 5665
Save the certificate on master icinga2 node.
The domain name for which this certificate will be saved
Icinga2 master node for which this certificate will be saved