mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
7fb41cdbee
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
15 lines
288 B
Ruby
15 lines
288 B
Ruby
# encoding: utf-8
|
|
#
|
|
# Copyright 2015, Vulcano Security GmbH
|
|
#
|
|
# Tiny test file to return OS info of the tested node
|
|
|
|
# print OS detection infos
|
|
conf = {
|
|
os_name: os[:name],
|
|
os_family: os[:family],
|
|
os_release: os[:release],
|
|
os_arch: os[:arch],
|
|
}
|
|
puts JSON.dump(conf)
|
|
exit 0
|
|
|