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

fix reporter/formatter disagreements #764

Merged
merged 1 commit into from
May 18, 2016
Merged

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented May 18, 2016

reporters didnt stick to the formatters that were configured but looked for an old json one. this MR ensures that the formatter that is configured is pulled out to generate the report

@arlimus arlimus added the Type: Bug Feature not working as expected label May 18, 2016
@arlimus arlimus force-pushed the dr/fix-reporter-formatter branch 4 times, most recently from 83cc4e8 to 9ee7833 Compare May 18, 2016 16:20
reporters didnt stick to the formatters that were configured but looked for an old json one. this MR ensures that the formatter that is configured is pulled out to generate the report
@alexpop
Copy link
Contributor

alexpop commented May 18, 2016

Thanks Dom!

This change requires an update of the audit cookbook, in libraries/profile.rb to specify the formatter:

      runner = ::Inspec::Runner.new('report' => true, 'format' => 'json-min')

Will be done on this PR: chef-boneyard/audit#44

@alexpop alexpop merged commit 53c8c4e into master May 18, 2016
@alexpop alexpop deleted the dr/fix-reporter-formatter branch May 18, 2016 16:32
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 this pull request may close these issues.

None yet

2 participants