Use correct deprecated notation instead of a warning.

This should help make the documentation more clear to fix #35458.
This commit is contained in:
rallytime 2016-08-16 14:06:28 -06:00
parent 6df4648765
commit 9bae3d09a6

View file

@ -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