inspec/test/unit/mock/profiles/dependencies/inheritance/controls/example.rb
Steven Danna 384ccb610c Initial attempt at isolating resources between dependencies
Previously, all resources were loaded into a single resource registry.
Now, each profile context has a resource registry, when a profile's
library is loaded into the profile context, we update the
profile-context-specific resource registry.  This local registry is
then used to populate the execution context that the rules are
evaluated in.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-04 20:55:20 +02:00

4 lines
77 B
Ruby

# encoding: utf-8
include_controls 'profile_a'
include_controls 'profile_b'