mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
fix up a few remarks from jfindlay
This commit is contained in:
parent
40664b2cff
commit
99dc99825c
@ -531,6 +531,7 @@ def active_tcp():
|
||||
Return a dict containing information on all of the running TCP connections (currently linux and solaris only)
|
||||
|
||||
.. versionchanged:: Boron
|
||||
|
||||
Added support for SunOS
|
||||
|
||||
CLI Example:
|
||||
@ -1207,7 +1208,7 @@ def get_bufsize(iface):
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' network.ge_tbufsize
|
||||
salt '*' network.get_bufsize
|
||||
'''
|
||||
if __grains__['kernel'] == 'Linux':
|
||||
if os.path.exists('/sbin/ethtool'):
|
||||
|
Loading…
Reference in New Issue
Block a user