Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipadnszone: add check mode support #582

Merged
merged 2 commits into from Sep 3, 2021

Conversation

rjeffman
Copy link
Member

This patch adds the required support for implementing check_mode
in FreeIPABaseModule class, and adds support for check_mode in
ipadnszone module.

Tests for verifying behavior were also added.

@rjeffman rjeffman requested a review from t-woerner June 25, 2021 12:27
@rjeffman rjeffman force-pushed the dnszone_add_check_mode_support branch 2 times, most recently from 79e2d3f to 7de95aa Compare July 9, 2021 01:52
All ansible-freeipa modules should support 'check_mode: yes', but
the support for creating modules with this was absent in the base
class.

This patch adds such support, to use it, 'supports_check_mode=True'
must be passed to the constructor when creating the module object.
This patch adds support for check_mode to the dnszone management
module, and provides tests to verify the behavior.
@rjeffman rjeffman force-pushed the dnszone_add_check_mode_support branch from 7de95aa to a84071b Compare July 9, 2021 01:55
Copy link
Member

@t-woerner t-woerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@t-woerner t-woerner merged commit 29fb281 into freeipa:master Sep 3, 2021
@rjeffman rjeffman deleted the dnszone_add_check_mode_support branch February 23, 2022 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants