inspec/test/unit/mock/profiles/dependencies-file/inheritance/controls/example.rb
Steven Danna 2041a08aa2 Fetch deps based on urls
This extends the dependency feature to include support for url-based
dependencies.  It takes some deviations from the current support for
URLs that we'll likely want to make more consistent.

By default, we store downloaded archives in the cache rather than the
unpacked archive. However, to facilitate debugging, we will prefer the
unpacked archive if we find it in the cache.

Signed-off-by: Steven Danna <steve@chef.io>
2016-08-19 09:47:40 +02:00

14 lines
317 B
Ruby

# encoding: utf-8
include_controls 'profile_a'
include_controls 'profile_b'
include_controls 'os-hardening' do
skip_control 'package-01'
skip_control 'package-02'
skip_control 'package-03'
skip_control 'package-04'
skip_control 'package-05'
1.upto(33) do |i|
skip_control "sysctl-%02d" % i
end
end