fix up a few remarks from jfindlay

This commit is contained in:
Jorge Schrauwen 2015-11-30 15:37:59 +00:00
parent 40664b2cff
commit 99dc99825c

View File

@ -531,6 +531,7 @@ def active_tcp():
Return a dict containing information on all of the running TCP connections (currently linux and solaris only) Return a dict containing information on all of the running TCP connections (currently linux and solaris only)
.. versionchanged:: Boron .. versionchanged:: Boron
Added support for SunOS Added support for SunOS
CLI Example: CLI Example:
@ -1207,7 +1208,7 @@ def get_bufsize(iface):
.. code-block:: bash .. code-block:: bash
salt '*' network.ge_tbufsize salt '*' network.get_bufsize
''' '''
if __grains__['kernel'] == 'Linux': if __grains__['kernel'] == 'Linux':
if os.path.exists('/sbin/ethtool'): if os.path.exists('/sbin/ethtool'):