Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

ipahost.py

Blame
    • Rafael Guterres Jeffman's avatar
      05a1aaed
      Fixes host absent when DNS zone is not found. · 05a1aaed
      Rafael Guterres Jeffman authored
      Since ipahost uses dnsrecord-show, it raises an error when DNS zone is
      not found, but it should not be an ipahost concern.
      
      This patch fixes this behavior by returning no record if DNS zone is
      not found, so processing resumes as if there is no record for the host.
      It fixes behavior when `state: absent` and dnszone does not exist, so,
      host should not exist either, and the ipahost answer is correct and
      indifferent to DNS Zone state.
      05a1aaed
      History
      Fixes host absent when DNS zone is not found.
      Rafael Guterres Jeffman authored
      Since ipahost uses dnsrecord-show, it raises an error when DNS zone is
      not found, but it should not be an ipahost concern.
      
      This patch fixes this behavior by returning no record if DNS zone is
      not found, so processing resumes as if there is no record for the host.
      It fixes behavior when `state: absent` and dnszone does not exist, so,
      host should not exist either, and the ipahost answer is correct and
      indifferent to DNS Zone state.