Sha256: db8eb588d59f6207516d1cc5044980e5510ab9c93a1f35e9b5d84d2b426375d7

Contents?: true

Size: 128 Bytes

Versions: 38

Compression:

Stored size: 128 Bytes

Contents

def os_version
  File.read('/etc/redhat-release').strip.chomp rescue 'Unknown'
end

puts "Host OS:".bold.ljust(40) + os_version

Version data entries

38 entries across 24 versions & 1 rubygems

Version Path
abiquo-etk-0.5.8 lib/checks/1.7.6/os_version.rb
abiquo-etk-0.5.3 lib/checks/1.7.5/os_version.rb
abiquo-etk-0.4.42 lib/checks/os_version.rb
abiquo-etk-0.4.33 lib/checks/os_version.rb
abiquo-etk-0.4.32 lib/checks/os_version.rb
abiquo-etk-0.4.29 lib/checks/os_version.rb
abiquo-etk-0.4.25 lib/checks/os_version.rb
abiquo-etk-0.4.24 lib/checks/os_version.rb
abiquo-etk-0.4.23 lib/checks/os_version.rb
abiquo-etk-0.4.22 lib/checks/os_version.rb
abiquo-etk-0.4.20 lib/checks/os_version.rb
abiquo-etk-0.4.19 lib/checks/os_version.rb
abiquo-etk-0.4.18 lib/checks/os_version.rb
abiquo-etk-0.4.17 lib/checks/os_version.rb
abiquo-etk-0.4.16 lib/checks/os_version.rb
abiquo-etk-0.4.15 lib/checks/os_version.rb
abiquo-etk-0.4.14 lib/checks/os_version.rb
abiquo-etk-0.4.13 lib/checks/os_version.rb