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 mono builddate capture and add debug logging #800

Merged
merged 3 commits into from
Apr 14, 2016
Merged

Fix mono builddate capture and add debug logging #800

merged 3 commits into from
Apr 14, 2016

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Apr 14, 2016

We weren't capturing the builddate right based on the latest output. I don't have an example of the old output to know if something changed or if this ever worked right. We didn't have specs that included the data or a check for the attribute. Those are added now.

Things seems to have changed in the output in the last billion years.  Include the full standard out and add a spec.
end
languages[:mono] = mono if mono[:version]
rescue Ohai::Exceptions::Exec
Ohai::Log.debug('Mono plugin: Could not shell_out "mono -v". Skipping plugin')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mono -V?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep...

@mcquin
Copy link
Contributor

mcquin commented Apr 14, 2016

🚀

@tas50
Copy link
Contributor Author

tas50 commented Apr 14, 2016

@chef/client-core this is ready for review

@danielsdeleo
Copy link
Contributor

👍

@tas50 tas50 merged commit cf5a985 into master Apr 14, 2016
@tas50 tas50 deleted the fix_mono branch April 14, 2016 21:31
@thommay thommay added Type: Bug Does not work as expected. and removed Bug labels Jan 24, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants