Fix firewalld to fail with correct version numbers (#33144)

Currently it's reporting an inverted version number about the
python library and it shouldn't be. Also it's currently claiming
python2 as a requirement, which it is not.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This commit is contained in:
Adam Miller 2017-11-22 01:39:06 -06:00 committed by René Moser
parent c6bb6c72cc
commit 122398b081

View file

@ -751,7 +751,7 @@ def main():
if import_failure:
module.fail_json(
msg='firewalld and its python 2 module are required for this module, version 2.0.11 or newer required (3.0.9 or newer for offline operations)'
msg='firewalld and its python module are required for this module, version 0.2.11 or newer required (0.3.9 or newer for offline operations)'
)
if fw_offline: