Jira (FACT-2584) Puppet 6 on Ubuntu 20.04 missing $::is_virtual fact

13 views
Skip to first unread message

Mihai Buzgau (Jira)

unread,
Apr 28, 2020, 6:19:03 AM4/28/20
to puppe...@googlegroups.com
Mihai Buzgau moved an issue
 
Facter / Bug FACT-2584
Puppet 6 on Ubuntu 20.04 missing $::is_virtual fact
Change By: Mihai Buzgau
Key: PUP FACT - 10468 2584
Project: Puppet Facter
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Apr 28, 2020, 6:20:03 AM4/28/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Apr 28, 2020, 6:46:03 AM4/28/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Apr 28, 2020, 6:49:03 AM4/28/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
May 5, 2020, 5:36:03 AM5/5/20
to puppe...@googlegroups.com
Bogdan Irimie commented on Bug FACT-2584
 
Re: Puppet 6 on Ubuntu 20.04 missing $::is_virtual fact

Anthony Sottile thank you for reporting this. At the moment we have ~80% Facter 3.x facts implemented. is_virtual  fact on Linux is planned in FACT-2245.

Anthony Sottile (Jira)

unread,
May 5, 2020, 11:57:03 AM5/5/20
to puppe...@googlegroups.com

yeah I was just very surprised since this is listed in many of the puppet docs and it trashed my machine when I upgraded and suddenly the wrong blocks were running (undefined facts are "falsey")

Josh Cooper (Jira)

unread,
May 15, 2020, 12:41:03 PM5/15/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug FACT-2584

Ah Anthony Sottile, this issue occurs because you're using puppet as a gem, and it relaxed the facter dependency to allow facter-ng 4. If you override the gem constraint then you'll get facter 2.5.7 again.

$ env FACTER_LOCATION='< 4' bundle update
...
$ bundle exec gem which facter
/Users/josh/work/puppet/.bundle/gems/ruby/2.7.0/gems/facter-2.5.7/lib/facter.rb
 

We'll keep this ticket open to track the virtual facts in facter-ng

Reply all
Reply to author
Forward
0 new messages