inspec/test/kitchen/policies/default/controls/_debug_spec.rb
Clinton Wolfe 55732b848a Do not use audit cookbook for resource testing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00

9 lines
465 B
Ruby

$stderr.puts "-----------------------------------"
$stderr.puts " TEST ENVIRONMENT "
$stderr.puts "-----------------------------------"
$stderr.puts " Docker: #{!ENV['DOCKER'].nil?}"
$stderr.puts " InSpec: #{Inspec::VERSION}"
$stderr.puts " OS name: #{os[:name] || 'unknown' }"
$stderr.puts "OS release: #{os[:release] || 'unknown'}"
$stderr.puts " OS family: #{os[:family] || 'unknown'}"
$stderr.puts "-----------------------------------"