Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing attributes to inherited profiles #1250

Closed
vikatgithub opened this issue Oct 26, 2016 · 3 comments · Fixed by #1258
Closed

Passing attributes to inherited profiles #1250

vikatgithub opened this issue Oct 26, 2016 · 3 comments · Fixed by #1258
Labels
Type: Bug Feature not working as expected

Comments

@vikatgithub
Copy link

Description

I am using a 2 level hierarchy of profiles. I pass a attributes yml file to the top level profile.

inspec exec [profile path] --attrs [attrib file path]

But these attributes are not visible in the inherited profile.

Is there any other setting besides 'depends' section in inspec.yml that is required for this to work?

InSpec and Platform Version

InSpec 1.0

@gsaslis
Copy link

gsaslis commented Oct 27, 2016

+1

@chris-rock chris-rock added the Type: Bug Feature not working as expected label Oct 27, 2016
@chris-rock
Copy link
Contributor

I can confirm that issue. You are doing everything right. This is an issue in InSpec

@vikatgithub
Copy link
Author

Thanks @chris-rock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants