You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error loading fact /var/lib/puppet/lib/facter/jenkins.rb no such file to load -- json
Analysis
On Ubuntu 12.04, the puppet package depends on ruby (1.8.7) and json is not installed. json only started being included in later versions of ruby.
It's possible to work around the issue by installing the ruby-json package but since the issue is occurring in the facter plugin it will only start working after at least one run. If jenkins is not installed on that host the facter plugin would still run an ruby-json never be installed.
One solution would be to bundle okjson, a pure ruby implementation of the JSON format and require it as a fallback.
The text was updated successfully, but these errors were encountered:
Symptom
Error loading fact /var/lib/puppet/lib/facter/jenkins.rb no such file to load -- json
Analysis
On Ubuntu 12.04, the puppet package depends on ruby (1.8.7) and json is not installed. json only started being included in later versions of ruby.
It's possible to work around the issue by installing the
ruby-json
package but since the issue is occurring in the facter plugin it will only start working after at least one run. If jenkins is not installed on that host the facter plugin would still run anruby-json
never be installed.One solution would be to bundle okjson, a pure ruby implementation of the JSON format and require it as a fallback.
The text was updated successfully, but these errors were encountered: