diff options
Diffstat (limited to 'lib/ohai/plugins/aix/kernel.rb')
-rw-r--r-- | lib/ohai/plugins/aix/kernel.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ohai/plugins/aix/kernel.rb b/lib/ohai/plugins/aix/kernel.rb index ed189057..bf84de8c 100644 --- a/lib/ohai/plugins/aix/kernel.rb +++ b/lib/ohai/plugins/aix/kernel.rb @@ -22,10 +22,11 @@ Ohai.plugin(:Kernel) do collect_data(:aix) do kernel Mash.new - kernel[:name] = shell_out("uname -s").stdout.split($/)[0].downcase + kernel[:name] = shell_out("uname -s").stdout.split($/)[0].downcase kernel[:release] = shell_out("uname -r").stdout.split($/)[0] kernel[:version] = shell_out("uname -v").stdout.split($/)[0] kernel[:machine] = shell_out("uname -p").stdout.split($/)[0] + kernel[:bits] = shell_out("getconf KERNEL_BITMODE").stdout.strip modules = Mash.new so = shell_out("genkex -d") |