From 2f3de8fa0a465e917f4e108ea4da9ade398824cf Mon Sep 17 00:00:00 2001 From: David Murphy < dmurphy@saltstack.com> Date: Mon, 30 Jul 2018 18:13:28 -0600 Subject: [PATCH] Changed Solaris default for disk.usage to 1 K blocks --- salt/modules/disk.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salt/modules/disk.py b/salt/modules/disk.py index ed34044e20..5214f6c9f3 100644 --- a/salt/modules/disk.py +++ b/salt/modules/disk.py @@ -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: