URL:
https://github.com/freeipa/freeipa/pull/1521
Author: flo-renaud
Title: #1521: ipa host-add: do not raise exception when reverse record not added
Action: opened
PR body:
"""
When ipa host-add --random is unable to add a reverse record (for instance
because the server does not manage any reverse zone), the command
adds the host but exits (return code=1) with an error without actually
outputing the random password generated.
With this fix, the behavior is modified. The commands succeeds (return code=0)
but prints a warning.
This commit also adds a unit test.
https://pagure.io/freeipa/issue/7374
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1521/head:pr1521
git checkout pr1521