| Puppet Version: 6.14.0 Puppet Server Version: 6.14.0 OS Name/Version: ubuntu 20.04 Describe your issue in as much detail as possible… Describe steps to reproduce… Desired Behavior: $::is_virtual used to exist, seems to not any more Actual Behavior: missing $::is_virtual Here's the output from facter (4.0.17):
$ GEM_HOME=~/.cache/personal-puppet/gems/ ~/.cache/personal-puppet/gems/bin/facter |
disks => { |
sda => { |
model => "VBOX HARDDISK", |
size => "40.00 GiB", |
size_bytes => 42949672960, |
vendor => "ATA" |
}, |
sr0 => { |
model => "CD-ROM", |
size => "1.00 GiB", |
size_bytes => 1073741312, |
vendor => "VBOX" |
} |
} |
dmi => { |
bios => { |
release_date => "12/01/2006", |
vendor => "innotek GmbH", |
version => "VirtualBox" |
}, |
board => { |
manufacturer => "Oracle Corporation", |
product => "VirtualBox" |
}, |
chassis => { |
asset_tag => "", |
type => "Other" |
}, |
manufacturer => "innotek GmbH", |
product => { |
name => "VirtualBox" |
} |
} |
facterversion => 4.0.17 |
filesystems => ext2,ext3,ext4,fuseblk,squashfs,vfat |
fips_enabled => false |
identity => { |
gid => 1000, |
group => "asottile", |
privileged => false, |
uid => 1000, |
user => "asottile" |
} |
kernel => Linux |
kernelmajversion => 5.4 |
kernelrelease => 5.4.0-26-generic |
kernelversion => 5.4.0 |
load_averages => { |
15m => 0.07, |
1m => 0.08, |
5m => 0.02 |
} |
memory => { |
swap => { |
available => "1.83 GiB", |
available_bytes => 1964396544, |
capacity => "0.00%", |
total => "1.83 GiB", |
total_bytes => 1964396544, |
used => "0 bytes", |
used_bytes => 0 |
}, |
system => { |
available => "3.57 GiB", |
available_bytes => 3828989952, |
capacity => "54.13%", |
total => "7.77 GiB", |
total_bytes => 8348303360, |
used => "4.21 GiB", |
used_bytes => 4519313408 |
} |
} |
networking => { |
fqdn => "babibox.", |
hostname => "babibox", |
interfaces => { |
enp0s3 => { |
bindings => [ |
{ |
address => "10.0.2.15", |
netmask => "255.255.255.0", |
network => "10.0.2.0" |
} |
], |
bindings6 => [ |
{ |
address => "fe80::a42f:b49:763f:c532", |
netmask => "ffff:ffff:ffff:ffff::", |
network => "fe80::" |
} |
] |
}, |
lo => { |
bindings => [ |
{ |
address => "127.0.0.1", |
netmask => "255.0.0.0", |
network => "127.0.0.0" |
} |
], |
bindings6 => [ |
{ |
address => "::1", |
netmask => "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", |
network => "::1" |
} |
] |
} |
}, |
ip => "10.0.2.15", |
mac => "08:00:27:bc:8f:af", |
primary => "enp0s3" |
} |
os => { |
architecture => "amd64", |
distro => { |
codename => "focal", |
description => "Ubuntu 20.04 LTS", |
id => "Ubuntu", |
release => { |
full => "20.04", |
major => "20", |
minor => "4" |
} |
}, |
family => "Debian", |
hardware => "x86_64", |
name => "Ubuntu", |
release => { |
full => "20.04", |
major => "20", |
minor => "4" |
}, |
selinux => { |
enabled => false |
} |
} |
partitions => { |
/dev/sda1 => { |
filesystem => "vfat", |
partuuid => "95920405-01", |
size => "512.00 MiB", |
size_bytes => 536870912, |
uuid => "03F4-C033" |
}, |
/dev/sda2 => { |
size => "1.00 KiB", |
size_bytes => 1024 |
}, |
/dev/sda5 => { |
filesystem => "ext4", |
partuuid => "95920405-05", |
size => "39.50 GiB", |
size_bytes => 42409656320, |
uuid => "6978ab2a-9e15-458e-a7d8-0adc4a86481e" |
} |
} |
path => /home/asottile/workspace/personal-puppet/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin |
processors => { |
count => 5, |
isa => "x86_64", |
models => [ |
"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", |
"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", |
"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", |
"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", |
"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz" |
], |
physicalcount => 1 |
} |
puppetversion => 6.14.0 |
ruby => { |
platform => "x86_64-linux-gnu", |
sitedir => "/usr/local/lib/site_ruby/2.7.0", |
version => "2.7.0" |
} |
ssh => { |
} |
system_uptime => { |
days => 0, |
hours => 1, |
seconds => 5780, |
uptime => "1:36 hours" |
} |
timezone => PDT
|
Here's the output from an older version of facter (2.5.7):
$ GEM_HOME=$PWD bin/facter |
architecture => amd64 |
blockdevice_sda_model => VBOX HARDDISK |
blockdevice_sda_size => 42949672960 |
blockdevice_sda_vendor => ATA |
blockdevice_sr0_model => CD-ROM |
blockdevice_sr0_size => 1073741312 |
blockdevice_sr0_vendor => VBOX |
blockdevices => sda,sr0 |
facterversion => 2.5.7 |
filesystems => ext2,ext3,ext4,squashfs,vfat |
fqdn => babibox |
gid => asottile |
hardwareisa => x86_64 |
hardwaremodel => x86_64 |
hostname => babibox |
id => asottile |
interfaces => enp0s3,lo |
ipaddress => 10.0.2.15 |
ipaddress_enp0s3 => 10.0.2.15 |
ipaddress_lo => 127.0.0.1 |
is_virtual => true |
kernel => Linux |
kernelmajversion => 5.4 |
kernelrelease => 5.4.0-26-generic |
kernelversion => 5.4.0 |
lsbdistcodename => focal |
lsbdistdescription => Ubuntu 20.04 LTS |
lsbdistid => Ubuntu |
lsbdistrelease => 20.04 |
lsbmajdistrelease => 20.04 |
macaddress => 08:00:27:bc:8f:af |
macaddress_enp0s3 => 08:00:27:bc:8f:af |
memoryfree => 6.83 GB |
memoryfree_mb => 6989.60 |
memorysize => 7.77 GB |
memorysize_mb => 7961.56 |
mtu_enp0s3 => 1500 |
mtu_lo => 65536 |
netmask => 255.255.255.0 |
netmask_enp0s3 => 255.255.255.0 |
netmask_lo => 255.0.0.0 |
network_enp0s3 => 10.0.2.0 |
network_lo => 127.0.0.0 |
operatingsystem => Ubuntu |
operatingsystemmajrelease => 20.04 |
operatingsystemrelease => 20.04 |
os => {"name"=>"Ubuntu", "family"=>"Debian", "release"=>{"major"=>"20.04", "full"=>"20.04"}, "lsb"=>{"distcodename"=>"focal", "distid"=>"Ubuntu", "distdescription"=>"Ubuntu 20.04 LTS", "distrelease"=>"20.04", "majdistrelease"=>"20.04"}} |
osfamily => Debian |
partitions => {"sda2"=>{"size"=>"2"}, "sda5"=>{"uuid"=>"6978ab2a-9e15-458e-a7d8-0adc4a86481e", "size"=>"82831360", "mount"=>"/", "filesystem"=>"ext4"}, "sda1"=>{"size"=>"1048576", "mount"=>"/boot/efi", "filesystem"=>"vfat"}} |
path => /home/asottile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin |
physicalprocessorcount => 1 |
processor0 => Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz |
processor1 => Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz |
processor2 => Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz |
processor3 => Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz |
processor4 => Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz |
processorcount => 5 |
processors => {"models"=>["Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", "Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", "Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", "Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz", "Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz"], "count"=>5, "physicalcount"=>1} |
ps => ps -ef |
rubyplatform => x86_64-linux-gnu |
rubysitedir => /usr/local/lib/site_ruby/2.7.0 |
rubyversion => 2.7.0 |
selinux => false |
swapfree => 1.83 GB |
swapfree_mb => 1873.39 |
swapsize => 1.83 GB |
swapsize_mb => 1873.39 |
system_uptime => {"seconds"=>5844, "hours"=>1, "days"=>0, "uptime"=>"1:37 hours"} |
timezone => PDT |
uniqueid => e2122dbd |
uptime => 1:37 hours |
uptime_days => 0 |
uptime_hours => 1 |
uptime_seconds => 5844 |
virtual => virtualbox
|
|