Jira (FACT-2492) factern-ng has no fallback for unknown distro flavours

0 views
Skip to first unread message

Igor Galić

unread,
Mar 25, 2020, 6:18:03 AM3/25/20
to puppe...@googlegroups.com
Igor Galić created an issue
 
Facter / Bug FACT-2492
factern-ng has no fallback for unknown distro flavours
Issue Type: Bug Bug
Assignee: Unassigned
Components: Facter 4
Created: 2020/03/25 3:17 AM
Priority: Normal Normal
Reporter: Igor Galić

when running `facter` on my laptop, i get the following error:

ERROR Facter::ClassDiscoverer - There is no module named Elementary

this did not happen with facter 2 or 3:

meena@76ix ~/s/p/puppetlabs-stdlib (master) [1]> env PDK_PUPPET_VERSION=4 pdk bundle exec facter --version
{{ pdk (INFO): Using Ruby 2.1.9}}
{{ pdk (WARN): Support for Puppet versions older than 5.0.0 is deprecated and will be removed in a future version of PDK.}}
{{ pdk (INFO): Using Puppet 4.10.12}}
{{ 2.5.7}}
{{ meena@76ix ~/s/p/puppetlabs-stdlib (master)> env PDK_PUPPET_VERSION=4 pdk bundle exec facter os}}
{{ pdk (INFO): Using Ruby 2.1.9}}
{{ pdk (WARN): Support for Puppet versions older than 5.0.0 is deprecated and will be removed in a future version of PDK.}}
{{ pdk (INFO): Using Puppet 4.10.12}}
{{ {"name"=>"Debian", "family"=>"Debian", "release"=>

{"major"=>"buster/sid", "full"=>"buster/sid"}

, "lsb"=>{"distcodename"=>"hera", "distid"=>"elementary", "distdescription"=>"elementary OS 5.1.2 Hera", "distrelease"=>"5.1.2", "majdistrelease"=>"5", "minordistrelease"=>"1"}}}}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Igor Galić

unread,
Mar 25, 2020, 6:19:03 AM3/25/20
to puppe...@googlegroups.com
Igor Galić updated an issue
Change By: Igor Galić
when running `facter` on my laptop, i get the following error:

{{ERROR Facter::ClassDiscoverer - There is no module named Elementary}}

this did not happen with facter 2 or 3:

{{meena@76ix ~/s/p/puppetlabs-stdlib (master) [1]> env PDK_PUPPET_VERSION=4 pdk bundle exec facter --version}}
{{ pdk (INFO): Using Ruby 2.1.9}}
{{ pdk (WARN): Support for Puppet versions older than 5.0.0 is deprecated and will be removed in a future version of PDK.}}
{{ pdk (INFO): Using Puppet 4.10.12}}
{{ 2.5.7}}
{{ meena@76ix ~/s/p/puppetlabs-stdlib (master)> env PDK_PUPPET_VERSION=4 pdk bundle exec facter os}}
{{ pdk (INFO): Using Ruby 2.1.9}}
{{ pdk (WARN): Support for Puppet versions older than 5.0.0 is deprecated and will be removed in a future version of PDK.}}
{{ pdk (INFO): Using Puppet 4.10.12}}
{{ \{"name"=>"Debian", "family"=>"Debian", "release"=> {"major"=>"buster/sid", "full"=>"buster/sid"}, "lsb"=>\{"distcodename"=>"hera", "distid"=>"elementary", "distdescription"=>"elementary OS 5.1.2 Hera", "distrelease"=>"5.1.2", "majdistrelease"=>"5", "minordistrelease"=>"1"}}}}
Add Comment Add Comment
 

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 6:32:03 AM3/25/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 6:33:04 AM3/25/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 6:33:04 AM3/25/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 8:06:03 AM3/25/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 9:40:02 AM3/25/20
to puppe...@googlegroups.com
Mihai Buzgau commented on Bug FACT-2492
 
Re: factern-ng has no fallback for unknown distro flavours

since we're releaseing a new version today, I've updated facter to use Debian core facts for elementary os: https://github.com/puppetlabs/facter-ng/pull/408 but we should definitely improve the way we detect OSes.

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 10:40:03 AM3/25/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages