lib/specinfra/host_inventory/platform.rb in specinfra-2.23.0 vs lib/specinfra/host_inventory/platform.rb in specinfra-2.24.0
- old
+ new
@@ -1,9 +1,9 @@
module Specinfra
class HostInventory
- class Platform
- def self.get
- os[:family]
+ class Platform < Base
+ def get
+ backend.os_info[:family]
end
end
end
end