Skip to content

Commit

Permalink
Add factsets for RHEL8
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Jul 17, 2019
1 parent 384d0c9 commit eacea3b
Show file tree
Hide file tree
Showing 14 changed files with 2,563 additions and 1 deletion.
60 changes: 60 additions & 0 deletions facts/1.6/redhat-8-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"gem_version": "~> 1.6.0",
"architecture": "x86_64",
"kernel": "Linux",
"augeasversion": "1.12.0",
"domain": "example.com",
"macaddress": "08:00:27:01:14:c0",
"facterversion": "1.6.18",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "eth0,lo",
"macaddress_eth0": "08:00:27:01:14:c0",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.18",
"kernelrelease": "4.18.0-80.el8.x86_64",
"kernelversion": "4.18.0",
"boardmanufacturer": "Oracle Corporation",
"boardproductname": "VirtualBox",
"boardserialnumber": "0",
"manufacturer": "innotek GmbH",
"productname": "VirtualBox",
"serialnumber": "0",
"type": "Other",
"memorysize": "1.79 GB",
"memoryfree": "1.49 GB",
"swapsize": "2.07 GB",
"swapfree": "2.07 GB",
"memorytotal": "1.79 GB",
"operatingsystem": "RedHat",
"operatingsystemrelease": "8.0",
"osfamily": "RedHat",
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processor1": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "2",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "true",
"selinux_enforced": "true",
"selinux_policyversion": "31",
"selinux_current_mode": "enforcing",
"selinux_config_mode": "enforcing",
"selinux_config_policy": "unknown",
"selinux_mode": "unknown",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDJEk0ELGJOkQiTWuUiupTDRhD6T4kVx3hI0sXKZhOyuIpT6tN50jx0wY4/GsiMx0lZkBRRoNuYgTJ/bRm0QW84V7E9qnr+FskNFqhNWARSaLZ87oStR6eVOUOKkPXMSL4h2mRsaTwyYSuRt9n/uihEd1N6Gl1eB4z2b/wjJJt4e5j/qaFaOu/5Lu5Kz3eS7x++XF4jtkzIIW/uG7PdmZLoAcT4mpQ89/ox24AupYstj3NaQudBaskUkMm6GM/HRQYCWj5+hxLgZ/KUA53iuvz9qgVW6QAO1CQFoJMkJKLPZQ5IOb3snjAwPq1/lX/J91pprMrTEmF/XlRaqk/RdqtB",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBA++AWEsH4Bgo9u4feq9AOMUC4Ka9m0efYJ6h4r6sZfZw/1o3x2aL+YQ0i6ExSM6dg6WzF9KSEIeqVim2ah5EmM=",
"timezone": "PDT",
"uniqueid": "007f0100",
"uptime": "0:02 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 164,
"virtual": "kvm",
"is_virtual": "true"
}
83 changes: 83 additions & 0 deletions facts/1.7/redhat-8-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"gem_version": "~> 1.7.0",
"architecture": "x86_64",
"augeasversion": "1.12.0",
"kernel": "Linux",
"blockdevice_sda_size": 34359738368,
"blockdevice_sda_vendor": "ATA",
"blockdevice_sda_model": "VBOX HARDDISK",
"blockdevices": "sda",
"domain": "example.com",
"macaddress": "08:00:27:01:14:c0",
"osfamily": "RedHat",
"operatingsystem": "RedHat",
"facterversion": "1.7.6",
"filesystems": "xfs",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "eth0,lo",
"ipaddress_eth0": "10.0.2.15",
"macaddress_eth0": "08:00:27:01:14:c0",
"netmask_eth0": "255.255.255.0",
"ipaddress_lo": "127.0.0.1",
"netmask_lo": "255.0.0.0",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.18",
"kernelrelease": "4.18.0-80.el8.x86_64",
"kernelversion": "4.18.0",
"boardmanufacturer": "Oracle Corporation",
"boardproductname": "VirtualBox",
"boardserialnumber": "0",
"bios_vendor": "innotek GmbH",
"bios_version": "VirtualBox",
"bios_release_date": "12/01/2006",
"manufacturer": "innotek GmbH",
"productname": "VirtualBox",
"serialnumber": "0",
"uuid": "22cfdcaa-fc00-4dce-9c16-6348b44dc817",
"type": "Other",
"memorysize": "1.79 GB",
"memoryfree": "1.48 GB",
"swapsize": "2.07 GB",
"swapfree": "2.07 GB",
"swapsize_mb": "2120.00",
"swapfree_mb": "2120.00",
"memorysize_mb": "1829.22",
"memoryfree_mb": "1520.21",
"memorytotal": "1.79 GB",
"netmask": "255.255.255.0",
"network_eth0": "10.0.2.0",
"network_lo": "127.0.0.0",
"operatingsystemmajrelease": "8",
"operatingsystemrelease": "8.0",
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processor1": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "2",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "true",
"selinux_enforced": "true",
"selinux_policyversion": "31",
"selinux_current_mode": "enforcing",
"selinux_config_mode": "enforcing",
"selinux_config_policy": "unknown",
"selinux_mode": "unknown",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDJEk0ELGJOkQiTWuUiupTDRhD6T4kVx3hI0sXKZhOyuIpT6tN50jx0wY4/GsiMx0lZkBRRoNuYgTJ/bRm0QW84V7E9qnr+FskNFqhNWARSaLZ87oStR6eVOUOKkPXMSL4h2mRsaTwyYSuRt9n/uihEd1N6Gl1eB4z2b/wjJJt4e5j/qaFaOu/5Lu5Kz3eS7x++XF4jtkzIIW/uG7PdmZLoAcT4mpQ89/ox24AupYstj3NaQudBaskUkMm6GM/HRQYCWj5+hxLgZ/KUA53iuvz9qgVW6QAO1CQFoJMkJKLPZQ5IOb3snjAwPq1/lX/J91pprMrTEmF/XlRaqk/RdqtB",
"sshfp_rsa": "SSHFP 1 1 6b1f5857204bec00630edffd74b45c0aca95816c\nSSHFP 1 2 8f3b737a16806e85f5adc3f07746c007b96b237ac94fab08a08d296b068be6c0",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBA++AWEsH4Bgo9u4feq9AOMUC4Ka9m0efYJ6h4r6sZfZw/1o3x2aL+YQ0i6ExSM6dg6WzF9KSEIeqVim2ah5EmM=",
"sshfp_ecdsa": "SSHFP 3 1 12d02c3a2fb89987d3611e2a8d445d79930cdf7e\nSSHFP 3 2 00589264369485e6b31fd18993b40ecfd0107e0234759f01bbdcf47ffe33e633",
"timezone": "PDT",
"uniqueid": "007f0100",
"uptime": "0:02 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 168,
"virtual": "kvm",
"is_virtual": "true"
}
83 changes: 83 additions & 0 deletions facts/2.0/redhat-8-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"gem_version": "~> 2.0.0",
"architecture": "x86_64",
"augeasversion": "1.12.0",
"kernel": "Linux",
"blockdevice_sda_size": 34359738368,
"blockdevice_sda_vendor": "ATA",
"blockdevice_sda_model": "VBOX HARDDISK",
"blockdevices": "sda",
"domain": "example.com",
"macaddress": "08:00:27:01:14:c0",
"osfamily": "RedHat",
"operatingsystem": "RedHat",
"facterversion": "2.0.2",
"filesystems": "xfs",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "eth0,lo",
"ipaddress_eth0": "10.0.2.15",
"macaddress_eth0": "08:00:27:01:14:c0",
"netmask_eth0": "255.255.255.0",
"ipaddress_lo": "127.0.0.1",
"netmask_lo": "255.0.0.0",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.18",
"kernelrelease": "4.18.0-80.el8.x86_64",
"kernelversion": "4.18.0",
"boardmanufacturer": "Oracle Corporation",
"boardproductname": "VirtualBox",
"boardserialnumber": "0",
"bios_vendor": "innotek GmbH",
"bios_version": "VirtualBox",
"bios_release_date": "12/01/2006",
"manufacturer": "innotek GmbH",
"productname": "VirtualBox",
"serialnumber": "0",
"uuid": "22cfdcaa-fc00-4dce-9c16-6348b44dc817",
"type": "Other",
"memorysize": "1.79 GB",
"memoryfree": "1.49 GB",
"swapsize": "2.07 GB",
"swapfree": "2.07 GB",
"swapsize_mb": "2120.00",
"swapfree_mb": "2120.00",
"memorysize_mb": "1829.22",
"memoryfree_mb": "1524.55",
"netmask": "255.255.255.0",
"network_eth0": "10.0.2.0",
"network_lo": "127.0.0.0",
"operatingsystemmajrelease": "8",
"operatingsystemrelease": "8.0",
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
"physicalprocessorcount": "1",
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processor1": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "2",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "true",
"selinux_enforced": "true",
"selinux_policyversion": "31",
"selinux_current_mode": "enforcing",
"selinux_config_mode": "enforcing",
"selinux_config_policy": "unknown",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDJEk0ELGJOkQiTWuUiupTDRhD6T4kVx3hI0sXKZhOyuIpT6tN50jx0wY4/GsiMx0lZkBRRoNuYgTJ/bRm0QW84V7E9qnr+FskNFqhNWARSaLZ87oStR6eVOUOKkPXMSL4h2mRsaTwyYSuRt9n/uihEd1N6Gl1eB4z2b/wjJJt4e5j/qaFaOu/5Lu5Kz3eS7x++XF4jtkzIIW/uG7PdmZLoAcT4mpQ89/ox24AupYstj3NaQudBaskUkMm6GM/HRQYCWj5+hxLgZ/KUA53iuvz9qgVW6QAO1CQFoJMkJKLPZQ5IOb3snjAwPq1/lX/J91pprMrTEmF/XlRaqk/RdqtB",
"sshfp_rsa": "SSHFP 1 1 6b1f5857204bec00630edffd74b45c0aca95816c\nSSHFP 1 2 8f3b737a16806e85f5adc3f07746c007b96b237ac94fab08a08d296b068be6c0",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBA++AWEsH4Bgo9u4feq9AOMUC4Ka9m0efYJ6h4r6sZfZw/1o3x2aL+YQ0i6ExSM6dg6WzF9KSEIeqVim2ah5EmM=",
"sshfp_ecdsa": "SSHFP 3 1 12d02c3a2fb89987d3611e2a8d445d79930cdf7e\nSSHFP 3 2 00589264369485e6b31fd18993b40ecfd0107e0234759f01bbdcf47ffe33e633",
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIEat7+ocsBHY4WRUEgHD+KKbrRsk1Cymb1J5T9ixFBPK",
"sshfp_ed25519": "SSHFP 4 1 8978c3ef44a8ef57f6ef4269f7b2ca3724b2466b\nSSHFP 4 2 cc59674a8b729aca56871e276a61fcdc095d1c2a555a9cfcad220c23cf606dc9",
"timezone": "PDT",
"uniqueid": "007f0100",
"uptime": "0:02 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 173,
"virtual": "kvm",
"is_virtual": "true"
}
97 changes: 97 additions & 0 deletions facts/2.1/redhat-8-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"gem_version": "~> 2.1.0",
"architecture": "x86_64",
"augeasversion": "1.12.0",
"kernel": "Linux",
"blockdevice_sda_size": 34359738368,
"blockdevice_sda_vendor": "ATA",
"blockdevice_sda_model": "VBOX HARDDISK",
"blockdevices": "sda",
"domain": "example.com",
"virtual": "kvm",
"is_virtual": "true",
"hardwaremodel": "x86_64",
"operatingsystem": "RedHat",
"facterversion": "2.1.0",
"filesystems": "xfs",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "eth0,lo",
"ipaddress_eth0": "10.0.2.15",
"macaddress_eth0": "08:00:27:01:14:c0",
"netmask_eth0": "255.255.255.0",
"mtu_eth0": "1500",
"ipaddress_lo": "127.0.0.1",
"netmask_lo": "255.0.0.0",
"mtu_lo": "65536",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.18",
"kernelrelease": "4.18.0-80.el8.x86_64",
"kernelversion": "4.18.0",
"macaddress": "08:00:27:01:14:c0",
"boardmanufacturer": "Oracle Corporation",
"boardproductname": "VirtualBox",
"boardserialnumber": "0",
"bios_vendor": "innotek GmbH",
"bios_version": "VirtualBox",
"bios_release_date": "12/01/2006",
"manufacturer": "innotek GmbH",
"productname": "VirtualBox",
"serialnumber": "0",
"uuid": "22cfdcaa-fc00-4dce-9c16-6348b44dc817",
"type": "Other",
"memorysize": "1.79 GB",
"memoryfree": "1.49 GB",
"swapsize": "2.07 GB",
"swapfree": "2.07 GB",
"swapsize_mb": "2120.00",
"swapfree_mb": "2120.00",
"memorysize_mb": "1829.22",
"memoryfree_mb": "1522.38",
"netmask": "255.255.255.0",
"network_eth0": "10.0.2.0",
"network_lo": "127.0.0.0",
"operatingsystemmajrelease": "8",
"operatingsystemrelease": "8.0",
"osfamily": "RedHat",
"partitions": {
"sda2": {
"size": "65009664",
"filesystem": "LVM2_member\" PARTUUID=\"1601c0d0-02"
},
"sda1": {
"uuid": "3204c1db-d8dd-4b46-a467-cde1ab19971e",
"size": "2097152",
"mount": "/boot",
"filesystem": "xfs\" PARTUUID=\"1601c0d0-01"
}
},
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
"physicalprocessorcount": "1",
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processor1": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "2",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "true",
"selinux_enforced": "true",
"selinux_policyversion": "31",
"selinux_current_mode": "enforcing",
"selinux_config_mode": "enforcing",
"selinux_config_policy": "unknown",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDJEk0ELGJOkQiTWuUiupTDRhD6T4kVx3hI0sXKZhOyuIpT6tN50jx0wY4/GsiMx0lZkBRRoNuYgTJ/bRm0QW84V7E9qnr+FskNFqhNWARSaLZ87oStR6eVOUOKkPXMSL4h2mRsaTwyYSuRt9n/uihEd1N6Gl1eB4z2b/wjJJt4e5j/qaFaOu/5Lu5Kz3eS7x++XF4jtkzIIW/uG7PdmZLoAcT4mpQ89/ox24AupYstj3NaQudBaskUkMm6GM/HRQYCWj5+hxLgZ/KUA53iuvz9qgVW6QAO1CQFoJMkJKLPZQ5IOb3snjAwPq1/lX/J91pprMrTEmF/XlRaqk/RdqtB",
"sshfp_rsa": "SSHFP 1 1 6b1f5857204bec00630edffd74b45c0aca95816c\nSSHFP 1 2 8f3b737a16806e85f5adc3f07746c007b96b237ac94fab08a08d296b068be6c0",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBA++AWEsH4Bgo9u4feq9AOMUC4Ka9m0efYJ6h4r6sZfZw/1o3x2aL+YQ0i6ExSM6dg6WzF9KSEIeqVim2ah5EmM=",
"sshfp_ecdsa": "SSHFP 3 1 12d02c3a2fb89987d3611e2a8d445d79930cdf7e\nSSHFP 3 2 00589264369485e6b31fd18993b40ecfd0107e0234759f01bbdcf47ffe33e633",
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIEat7+ocsBHY4WRUEgHD+KKbrRsk1Cymb1J5T9ixFBPK",
"sshfp_ed25519": "SSHFP 4 1 8978c3ef44a8ef57f6ef4269f7b2ca3724b2466b\nSSHFP 4 2 cc59674a8b729aca56871e276a61fcdc095d1c2a555a9cfcad220c23cf606dc9",
"timezone": "PDT",
"uniqueid": "007f0100",
"uptime": "0:02 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 178
}
Loading

0 comments on commit eacea3b

Please sign in to comment.