Module: Specinfra::Helper::Os

Defined in:
lib/specinfra/helper/os.rb

Instance Method Summary collapse

Instance Method Details

#osObject



6
7
8
9
10
11
12
# File 'lib/specinfra/helper/os.rb', line 6

def os
  property[:os] = {} if ! property[:os]
  if ! property[:os].include?(:family)
    property[:os] = detect_os
  end
  property[:os]
end