mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
1076dcbd52
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
15 lines
276 B
Ruby
15 lines
276 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 = {
|
|
name: os[:name],
|
|
family: os[:family],
|
|
release: os[:release],
|
|
arch: os[:arch],
|
|
}
|
|
puts JSON.dump(conf)
|
|
exit 0
|
|
|