Add versionadded tags

This commit is contained in:
twangboy 2018-12-06 18:23:39 -07:00
parent 00cbf26d5e
commit cb50648715
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB
2 changed files with 24 additions and 0 deletions

View file

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

View file

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