docs: def node_setup(domain, master, ticket):
      '''
      Setup the icinga2 node.
  
      Returns::
          icinga2 node setup --ticket TICKET_ID --endpoint master.domain.tld --zone domain.tld --master_host master.domain.tld --trustedcert \
                  /etc/icinga2/pki/trusted-master.crt
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' icinga2.node_setup domain.tld master.domain.tld TICKET_ID
  
      '''
      result = __salt__['cmd.run_all'](["icinga2", "node", "setup", "--ticket", ticket, "--endpoint", master, "--zone", domain, "--master_host", master, "--trustedcert", "{0}trusted-master.crt".format(get_certs_path())],
                                         python_shell=False)
      return result