When tests need to modify sssd.conf they currently do in one of three ways with tasks.modify_sssd_conf() - this function validates changes against schema but allows editing only domain sections of config files with tasks.remote_ini_file() which can change any section but does not check for logical errors like wrong option name * with direct file editing using sed
sed
We should have a single tool for this task with following properties it checks changes with schema it has a simple and convenient interface * it allows to make arbitrary changes to sssd.conf if they conform to schema.
Whenever we need to produce invalid config file for the testing purposes we still can use remote_ini_file()
PR: https://github.com/freeipa/freeipa/pull/4313
master:
Metadata Update from @sorlov: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-6:
ipa-4-7:
ipa-4-8:
Login to comment on this ticket.