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.6.4 lib/checks/1.7.6/os_version.rb
abiquo-etk-0.6.4 lib/checks/1.7.5/os_version.rb
abiquo-etk-0.6.4 lib/checks/1.8.0/os_version.rb
abiquo-etk-0.6.3 lib/checks/1.8.0/os_version.rb
abiquo-etk-0.6.3 lib/checks/1.7.6/os_version.rb
abiquo-etk-0.6.3 lib/checks/1.7.5/os_version.rb
abiquo-etk-0.6.2 lib/checks/1.7.5/os_version.rb
abiquo-etk-0.6.2 lib/checks/1.8.0/os_version.rb
abiquo-etk-0.6.2 lib/checks/1.7.6/os_version.rb
abiquo-etk-0.6.1 lib/checks/1.7.6/os_version.rb
abiquo-etk-0.6.1 lib/checks/1.8.0/os_version.rb
abiquo-etk-0.6.1 lib/checks/1.7.5/os_version.rb
abiquo-etk-0.6.0 lib/checks/1.7.6/os_version.rb
abiquo-etk-0.6.0 lib/checks/1.8.0/os_version.rb
abiquo-etk-0.6.0 lib/checks/1.7.5/os_version.rb
abiquo-etk-0.5.9 lib/checks/1.7.5/os_version.rb
abiquo-etk-0.5.9 lib/checks/1.7.6/os_version.rb
abiquo-etk-0.5.9 lib/checks/1.8.0/os_version.rb
abiquo-etk-0.5.8 lib/checks/1.8.0/os_version.rb
abiquo-etk-0.5.8 lib/checks/1.7.5/os_version.rb