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

Document ini resource #848

Closed
nvtkaszpir opened this issue Jul 29, 2016 · 5 comments · Fixed by #981
Closed

Document ini resource #848

nvtkaszpir opened this issue Jul 29, 2016 · 5 comments · Fixed by #981
Labels
Aspect: Docs Write the Fine Manual
Milestone

Comments

@nvtkaszpir
Copy link
Contributor

nvtkaszpir commented Jul 29, 2016

As a developer I would like to verify ini files within inspec:

  • if given sections exist
  • if given keys+values exist within sections

This should be as new resource, similar to parse_config.

@chris-rock
Copy link
Contributor

@nvtkaszpir That is a great idea! Since we head for InSpec 1.0, I assume we cannot make it within the next two months, but PRs are welcome to add this to InSpec

@chris-rock
Copy link
Contributor

Is the current ini resource not working for you? https://github.com/chef/inspec/blob/master/lib/resources/ini.rb

@nvtkaszpir
Copy link
Contributor Author

ah, actually I wasn't aware of this, because I was basing on official docs, which does not have 'ini' type per se.

Will see how it works, but apparently docs needs extension.

@nvtkaszpir
Copy link
Contributor Author

yep it works :D

@chris-rock
Copy link
Contributor

@nvtkaszpir Alright, we need to add the ini resource to our documentation. Great to hear it works.

@chris-rock chris-rock changed the title Support ini files as new resource within inspec Document ini resource Aug 1, 2016
@chris-rock chris-rock added Aspect: Docs Write the Fine Manual and removed feature request labels Aug 1, 2016
@chris-rock chris-rock added this to the 1.0.0 milestone Aug 1, 2016
@chris-rock chris-rock modified the milestones: 1.0.0, 0.32.0 Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aspect: Docs Write the Fine Manual
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants