Jira (FACT-2257) Handle ruby native extensions in Facter NG

0 views
Skip to first unread message

Mihai Buzgau (JIRA)

unread,
Dec 18, 2019, 4:47:05 AM12/18/19
to puppe...@googlegroups.com
Mihai Buzgau created an issue
 
Facter / Task FACT-2257
Handle ruby native extensions in Facter NG
Issue Type: Task Task
Assignee: Unassigned
Created: 2019/12/18 1:46 AM
Priority: Normal Normal
Reporter: Mihai Buzgau

Right now, puppet gem does not require any native extensions when installing on Linux based platforms.

root@grave-dweller:~# gem install puppet
Fetching: facter-2.5.6.gem (100%)
Successfully installed facter-2.5.6
Fetching: hiera-3.6.0.gem (100%)
Successfully installed hiera-3.6.0
Fetching: semantic_puppet-1.0.2.gem (100%)
Successfully installed semantic_puppet-1.0.2
Fetching: fast_gettext-1.8.0.gem (100%)
Successfully installed fast_gettext-1.8.0
Fetching: locale-2.1.2.gem (100%)
Successfully installed locale-2.1.2
Fetching: multi_json-1.14.1.gem (100%)
Successfully installed multi_json-1.14.1
Fetching: httpclient-2.8.3.gem (100%)
Successfully installed httpclient-2.8.3
Fetching: hocon-1.3.0.gem (100%)
Successfully installed hocon-1.3.0
Fetching: puppet-resource_api-1.8.7.gem (100%)
Successfully installed puppet-resource_api-1.8.7
Fetching: concurrent-ruby-1.1.5.gem (100%)
Successfully installed concurrent-ruby-1.1.5
Fetching: deep_merge-1.2.1.gem (100%)
Successfully installed deep_merge-1.2.1
Fetching: puppet-6.11.1.gem (100%)
Successfully installed puppet-6.11.1
Parsing documentation for facter-2.5.6
Installing ri documentation for facter-2.5.6
Parsing documentation for hiera-3.6.0
Installing ri documentation for hiera-3.6.0
Parsing documentation for semantic_puppet-1.0.2
Installing ri documentation for semantic_puppet-1.0.2
Parsing documentation for fast_gettext-1.8.0
Installing ri documentation for fast_gettext-1.8.0
Parsing documentation for locale-2.1.2
Installing ri documentation for locale-2.1.2
Parsing documentation for multi_json-1.14.1
Installing ri documentation for multi_json-1.14.1
Parsing documentation for httpclient-2.8.3
Installing ri documentation for httpclient-2.8.3
Parsing documentation for hocon-1.3.0
Installing ri documentation for hocon-1.3.0
Parsing documentation for puppet-resource_api-1.8.7
Installing ri documentation for puppet-resource_api-1.8.7
Parsing documentation for concurrent-ruby-1.1.5
Installing ri documentation for concurrent-ruby-1.1.5
Parsing documentation for deep_merge-1.2.1
Installing ri documentation for deep_merge-1.2.1
Parsing documentation for puppet-6.11.1
Installing ri documentation for puppet-6.11.1
Done installing documentation for facter, hiera, semantic_puppet, fast_gettext, locale, multi_json, httpclient, hocon, puppet-resource_api, concurrent-ruby, deep_merge, puppet after 30 seconds
12 gems installed 

In order to keep the same user experience, we should do special handling on the facter dependencies that require native extensions (for example FFI). 

A solution would be not to resolve facts that require native extensions if facter-ng is installed as a dependency to puppet gem.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages