Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:M0ses:nextcloud
salt
fix-modules-suse_apache-missing_apache2ctl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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.")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor