Issue #22532 has been updated by Matthaus Owens. Status changed from Unreviewed to Duplicate
David, it's up to the user whether or not they are using external facts, and whether or not they are using json external facts. The error message when json is not present is very clear and friendly. json isn't required for the basic operation of facter, so adding is as a hard dependency doesn't make sense. If RPM had a suggests or recommends it would make sense to add a suggests/recommends on json. ---------------------------------------- Bug #22532: facter RPM missing ruby-json dependency https://projects.puppetlabs.com/issues/22532#change-97499 * Author: David Thompson * Status: Duplicate * Priority: Normal * Assignee: * Category: * Target version: * Keywords: * Branch: * Affected Facter version: 1.7.3 ---------------------------------------- The puppetlabs-built facter RPM for RHEL 6 and derivative requires the ruby-json package to read custom facts in json format, but 'yum install facter' doesn't install ruby-json because it isn't listed in the SPEC file requirements. Adding: Requires: ruby-json ...to the spec file will bring in the needed package. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
