File fix-modules-suse_apache-missing_apache2ctl.patch of Package salt
diff --git a/salt/modules/suse_apache.py b/salt/modules/suse_apache.py
index 7c599b3..61001f1 100644
--- a/salt/modules/suse_apache.py
+++ b/salt/modules/suse_apache.py
@@ -19,7 +19,7 @@ def __virtual__():
"""
Only load the module if apache is installed.
"""
- if salt.utils.path.which("apache2ctl") and __grains__["os_family"] == "Suse":
+ if salt.utils.path.which("a2enmod") and salt.utils.path.which("a2dismod") and __grains__["os_family"] == "Suse":
return __virtualname__
return (False, "apache execution module not loaded: apache not installed.")