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 June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy