Skip to content

(MODULES-2430) Fix issue parsing facts with puppet 4 #133

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

Merged
merged 1 commit into from
Aug 20, 2015
Merged

(MODULES-2430) Fix issue parsing facts with puppet 4 #133

merged 1 commit into from
Aug 20, 2015

Conversation

cyberious
Copy link
Contributor

  • Changed to puppet facts parsing json due to bug with facter
    which causes facter to hang and test never exits

@cyberious cyberious changed the title (MODULES-2430) Fix issue parsing facts with puppet 4 DO NOT MERGE (MODULES-2430) Fix issue parsing facts with puppet 4 Aug 18, 2015
- Changed to puppet facts parsing json due to bug with facter
  which causes facter to hang and test never exits
@cyberious cyberious changed the title DO NOT MERGE (MODULES-2430) Fix issue parsing facts with puppet 4 (MODULES-2430) Fix issue parsing facts with puppet 4 Aug 20, 2015
@@ -1,5 +1,6 @@
require 'spec_helper_acceptance'
require 'erb'
require 'json'
Copy link
Contributor

Choose a reason for hiding this comment

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

A require on JSON, but I'm guessing you are allowing the dependency to be transitive based on Puppet? Since I don't see it in the Gemfile.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct but if we don't ensure we require this we won't be able to parse the json result

@ferventcoder
Copy link
Contributor

Orher than I think you may want something in the gemfile for this dependency, lgtm

ferventcoder added a commit that referenced this pull request Aug 20, 2015
(MODULES-2430) Fix issue parsing facts with puppet 4
@ferventcoder ferventcoder merged commit cad4951 into puppetlabs:master Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants