commit 6e663a7dff880a15b3e6ec5b2487a2055c23a164
Author: Luigi Toscano <email address hidden>
Date: Tue Oct 11 17:51:57 2016 +0200
Disable firewalld (also on centos7) when it is enabled
Calling systemctl disable on a non-existing unit leads to a failure due
to `set -e`. This checks prevents it.
Also applies the same codepath to centos7 (as it is for rhel7, also
because centos7 has currently test coverage).
Closes-Bug: #1653535
Change-Id: I21f9cfd1959dcde80ed6abbf410bd0c4e93cc803
(cherry picked from commit 42d79a982815cff83ed6e89b269b45c982b906b6)
Reviewed: https:/ /review. openstack. org/416079 /git.openstack. org/cgit/ openstack/ sahara- image-elements/ commit/ ?id=6e663a7dff8 80a15b3e6ec5b24 87a2055c23a164
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 6e663a7dff880a1 5b3e6ec5b2487a2 055c23a164
Author: Luigi Toscano <email address hidden>
Date: Tue Oct 11 17:51:57 2016 +0200
Disable firewalld (also on centos7) when it is enabled
Calling systemctl disable on a non-existing unit leads to a failure due
to `set -e`. This checks prevents it.
Also applies the same codepath to centos7 (as it is for rhel7, also
because centos7 has currently test coverage).
Closes-Bug: #1653535 e80ed6abbf410bd 0c4e93cc803 83ed6e89b269b45 c982b906b6)
Change-Id: I21f9cfd1959dcd
(cherry picked from commit 42d79a982815cff