mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #35495 from rallytime/fix-35458
Use correct deprecated notation instead of a warning for apache_module.enable state function.
This commit is contained in:
commit
678759ba6c
1 changed files with 5 additions and 4 deletions
|
@ -16,6 +16,8 @@ Enable and disable apache modules.
|
|||
apache_module.disabled:
|
||||
- name: cgi
|
||||
'''
|
||||
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
from salt.ext.six import string_types
|
||||
|
||||
|
@ -66,11 +68,10 @@ def enabled(name):
|
|||
|
||||
def enable(name):
|
||||
'''
|
||||
Ensure an Apache module is enabled.
|
||||
Ensure an Apache module is enabled. This function is deprecated and will be
|
||||
removed in Salt Nitrogen. Please use the ``enabled`` state function instead.
|
||||
|
||||
.. warning::
|
||||
|
||||
This function is deprecated and will be removed in Salt Nitrogen.
|
||||
.. deprecated:: 2016.3.0
|
||||
|
||||
name
|
||||
Name of the Apache module
|
||||
|
|
Loading…
Add table
Reference in a new issue