Changed Solaris default for disk.usage to 1 K blocks

This commit is contained in:
David Murphy 2018-07-30 18:13:28 -06:00
parent 05f5aab2d7
commit 2f3de8fa0a

View File

@ -85,6 +85,10 @@ def usage(args=None):
'''
Return usage information for volumes mounted on this minion
.. versionchanged:: Fluorine
Default for SunOS changed to 1 kilobyte blocks
CLI Example:
.. code-block:: bash
@ -103,6 +107,8 @@ def usage(args=None):
cmd = 'df -P'
elif __grains__['kernel'] == 'OpenBSD' or __grains__['kernel'] == 'AIX':
cmd = 'df -kP'
elif __grains__['kernel'] == 'SunOS':
cmd = 'df -k'
else:
cmd = 'df'
if flags: