On Mon, 13 Jul 2015, Jan Pazdziora wrote:
On Mon, Jul 13, 2015 at 03:12:13PM +0200, Petr Spacek wrote:
I would like to avoid advertising --force options when possible. --force
should not be necessary in proper setups and advertising it will make people
to use it instead of fixing underlying problems.
How do you propose for things to work when the host is pre-created
(with --random) and the service should be pre-created, and then IP
address will only be set by the machine itself when it IPA-enrolls
with the OTP?
This is a workflow question, not a code fix. If you need to use --force,
use it but this specific flow has to be documented, not suggested by the
code. We have plenty of cases where you have to use --addattr/--setattr
as well, but we don't advertise them in the error messages.
On contrary, documenting the fact that in some workflows you actually
need to override default belts and suspenders is fine.
/ Alexander Bokovoy
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code