mirror of
https://github.com/inspec/inspec
synced 2024-12-21 02:23:13 +00:00
b2146d8758
All resources from deps are added into the control_eval_context used by the current profile. However, if there is a name conflict, the last loaded resource wins. The new `require_resource` dsl method allows the user to do the following: require_resource(profile: 'profile_name', resource: 'other', as: 'renamed') describe renamed do ... end Signed-off-by: Steven Danna <steve@chef.io>
13 lines
308 B
YAML
13 lines
308 B
YAML
name: resource-namespace
|
|
title: InSpec Profile
|
|
maintainer: The Authors
|
|
copyright: The Authors
|
|
copyright_email: you@example.com
|
|
license: All Rights Reserved
|
|
summary: An InSpec Compliance Profile
|
|
version: 0.1.0
|
|
depends:
|
|
- name: profile_a
|
|
path: '../profile_a'
|
|
- name: profile_d
|
|
path: '../profile_d'
|