Sha256: a8b9f97c20ce4a07b13e76d6aea7f78b6532e8ce7d2a59813a5b7981fdc9d938

Contents?: true

Size: 327 Bytes

Versions: 36

Compression:

Stored size: 327 Bytes

Contents

# encoding: utf-8
# Copyright 2015, Vulcano Security GmbH
# author: Christoph Hartmann
# author: Dominik Richter
# Tiny test file to return OS info of the tested node

# print OS detection infos
conf = {
  name:    os[:name],
  family:  os[:family],
  release: os[:release],
  arch:    os[:arch],
}
puts JSON.dump(conf)
exit 0

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
inspec-0.19.2 lib/utils/detect.rb
inspec-0.19.1 lib/utils/detect.rb
inspec-0.19.0 lib/utils/detect.rb
inspec-0.18.0 lib/utils/detect.rb
inspec-0.17.1 lib/utils/detect.rb
inspec-0.17.0 lib/utils/detect.rb
inspec-0.16.4 lib/utils/detect.rb
inspec-0.16.3 lib/utils/detect.rb
inspec-0.16.2 lib/utils/detect.rb
inspec-0.16.1 lib/utils/detect.rb
inspec-0.16.0 lib/utils/detect.rb
inspec-0.15.0 lib/utils/detect.rb
inspec-0.14.8 lib/utils/detect.rb
inspec-0.14.7 lib/utils/detect.rb
inspec-0.14.6 lib/utils/detect.rb
inspec-0.14.5 lib/utils/detect.rb
inspec-0.14.4 lib/utils/detect.rb
inspec-0.14.3 lib/utils/detect.rb
inspec-0.14.2 lib/utils/detect.rb
inspec-0.14.1 lib/utils/detect.rb