Support for Apache
Please note: The functions in here are SUSE-specific. Placing them in this
separate file will allow them to load only on SUSE systems, while still
loading under the apache
namespace.
salt.modules.suse_apache.
a2dismod
(mod)¶Runs a2dismod for the given mod.
CLI Example:
salt '*' apache.a2dismod vhost_alias
salt.modules.suse_apache.
a2enmod
(mod)¶Runs a2enmod for the given mod.
CLI Example:
salt '*' apache.a2enmod vhost_alias
salt.modules.suse_apache.
check_mod_enabled
(mod)¶Checks to see if the specific apache mod is enabled.
This will only be functional on operating systems that support a2enmod -l to list the enabled mods.
CLI Example:
salt '*' apache.check_mod_enabled status
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy