diff options
-rw-r--r-- | lib/ohai/plugins/linux/lsb.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ohai/plugins/linux/lsb.rb b/lib/ohai/plugins/linux/lsb.rb index 0f3497b7..dcad4faa 100644 --- a/lib/ohai/plugins/linux/lsb.rb +++ b/lib/ohai/plugins/linux/lsb.rb @@ -27,13 +27,13 @@ Ohai.plugin(:LSB) do # From package redhat-lsb on Fedora/Redhat, lsb-release on Debian/Ubuntu shell_out("lsb_release -a").stdout.lines do |line| case line - when /^Distributor ID:\s+(.+)$/ + when /^Distributor ID:\s+(.+)/ lsb[:id] = $1 - when /^Description:\s+(.+)$/ + when /^Description:\s+(.+)/ lsb[:description] = $1 - when /^Release:\s+(.+)$/ + when /^Release:\s+(.+)/ lsb[:release] = $1 - when /^Codename:\s+(.+)$/ + when /^Codename:\s+(.+)/ lsb[:codename] = $1 else lsb[:id] = line |