mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add versionadded tags
This commit is contained in:
parent
00cbf26d5e
commit
cb50648715
2 changed files with 24 additions and 0 deletions
|
@ -350,6 +350,9 @@ def get_settings(profile, section, store='local'):
|
|||
Get the firewall property from the specified profile in the specified store
|
||||
as returned by ``netsh advfirewall``.
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
Args:
|
||||
|
||||
profile (str):
|
||||
|
@ -405,6 +408,9 @@ def get_all_settings(domain, store='local'):
|
|||
'''
|
||||
Gets all the properties for the specified profile in the specified store
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
Args:
|
||||
|
||||
profile (str):
|
||||
|
@ -444,6 +450,9 @@ def get_all_profiles(store='local'):
|
|||
'''
|
||||
Gets all properties for all profiles in the specified store
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
Args:
|
||||
|
||||
store (str):
|
||||
|
@ -478,6 +487,9 @@ def set_firewall_settings(profile, inbound=None, outbound=None, store='local'):
|
|||
Set the firewall inbound/outbound settings for the specified profile and
|
||||
store
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
Args:
|
||||
|
||||
profile (str):
|
||||
|
@ -550,6 +562,9 @@ def set_logging_settings(profile, setting, value, store='local'):
|
|||
'''
|
||||
Configure logging settings for the Windows firewall.
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
Args:
|
||||
|
||||
profile (str):
|
||||
|
@ -641,6 +656,9 @@ def set_settings(profile, setting, value, store='local'):
|
|||
'''
|
||||
Configure firewall settings.
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
Args:
|
||||
|
||||
profile (str):
|
||||
|
@ -705,6 +723,9 @@ def set_state(profile, state, store='local'):
|
|||
'''
|
||||
Configure the firewall state.
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
Args:
|
||||
|
||||
profile (str):
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
'''
|
||||
A salt util for modifying firewall settings.
|
||||
|
||||
.. versionadded:: 2018.3.4
|
||||
.. versionadded:: Fluorine
|
||||
|
||||
This util allows you to modify firewall settings in the local group policy in
|
||||
addition to the normal firewall settings. Parameters are taken from the
|
||||
netsh advfirewall prompt.
|
||||
|
|
Loading…
Add table
Reference in a new issue