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

Fortinet FortiManager Module_Utils MINOR Update #52756

Merged
merged 3 commits into from
Mar 4, 2019
Merged

Fortinet FortiManager Module_Utils MINOR Update #52756

merged 3 commits into from
Mar 4, 2019

Conversation

ftntcorecse
Copy link
Contributor

Now accepts entire module as input, so it can use those data points for decisions later. This update is entirely related to our debugging and should have zero impact on existing modules.

SUMMARY

A minor update to our mod_utils to enable a streamlined debug process for capturing fixtures for unit tests. Has no impact on existing modules, very very small change that allows for the entire AnsibleModule object to be passed to it upon init, allowing for the passing of certain data points to our debug library.

Please approve with haste. Very minor update.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

module_utils/network/fortimanager/fortimanager.py

ADDITIONAL INFORMATION

Now accepts entire module as input, so it can use those data points for decisions later. This update is entirely related to our debugging and should have zero impact on existing modules.
@ansibot
Copy link
Contributor

ansibot commented Feb 21, 2019

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. community_review In order to be merged, this PR must follow the community review workflow. needs_triage Needs a first human triage before being processed. networking Network category support:community This issue/PR relates to code supported by the Ansible community. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed community_review In order to be merged, this PR must follow the community review workflow. labels Feb 21, 2019
@dagwieers dagwieers added the fortimanager Fortimanager community label Feb 22, 2019
@ansibot ansibot removed the needs_triage Needs a first human triage before being processed. label Feb 22, 2019
@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Feb 22, 2019
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Mar 2, 2019
…(which is only used by us, internally). It needs to be moved outside of the Ansible namespace so we can call it with try/catch without any other issues. Right now /ansible/executor/module_common.py runs w/ recursive_finder, and throws errors because it can't find debug on other machines within the ansible namespace. We don't have this issue with pyFMG legacy usage.

So, we're disabling the code until we have a better way of calling this debug module. It isn't required for production usage.
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Mar 4, 2019
@NilashishC NilashishC merged commit a65db02 into ansible:devel Mar 4, 2019
@ftntcorecse ftntcorecse deleted the mod_utils.network.fortimanager.fortimanager.py branch March 28, 2019 21:40
@ansible ansible locked and limited conversation to collaborators Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. community_review In order to be merged, this PR must follow the community review workflow. fortimanager Fortimanager community networking Network category support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants