Actions
Refactor #24154
closedRefactor facts module to work with facter 3.x
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Description
We currently use facter 2 (from EPEL), switching to facter 3.x does not work as facter 3 uses own Ruby. We will perhaps need to spawn new process.
https://github.com/theforeman/smart-proxy/blob/develop/modules/facts/facts_plugin.rb
Updated by Lukas Zapletal almost 7 years ago
- Related to Refactor #24153: Refactor fdi to work with facter 4.x added
Updated by Ewoud Kohl van Wijngaarden almost 7 years ago
Facter 3 still provides ruby bindings but on RPM systems the Puppet AIO install has a Provides: facter. That facter installs Ruby bindings for the bundled ruby version rather than the system ruby. When EPEL is not available but Puppet AIO is, then you don't get the ruby bindings for the system ruby.
Updated by Lukas Zapletal almost 7 years ago
Or as Ewoud said "we can also make facter from our repos to be based on system Ruby". That would do it as well.
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Category changed from Puppet to Facts
- Status changed from New to Rejected
For what it's worth: Facter 4 is written in Ruby again, so this should no longer be an issue.
Actions