Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#41) Add factsets for linuxmint 18 & 19 #106

Merged
merged 2 commits into from
Jul 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ FacterDB::get_facts('osfamily=Debian')
| FreeBSD 12 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 5 | | | | | | | | 1 |
| FreeBSD 9 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | |
| Gentoo | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | |
| LinuxMint 18 | | | | | | | | | | 1 | | 1 | | | | | | |
| LinuxMint 18 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 6 | | 1 | | | | 1 | 1 | 1 |
| LinuxMint 19 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 4 | | | | | | | | |
| OpenBSD 5.7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | |
| OpenBSD 5.8 | | | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | |
| OpenBSD 5.9 | | | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | |
Expand Down
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def factset_to_os_label(fs)
label = "#{os_name} #{os__rel}"
elsif os_name =~ /^(Solaris)/
label = "#{os_name} #{os__rel.split('.')[1]}"
elsif os_name.start_with?('Debian') && fs[:lsbdistid] == 'LinuxMint'
label = "#{fs[:lsbdistid]} #{fs[:lsbmajdistrelease]}"
elsif os_name =~ /^windows$/
db_filename = fs[:_facterdb_filename] || 'there_is_no_filename'
if db_filename =~ /windows-10-/
Expand Down
68 changes: 68 additions & 0 deletions facts/1.6/linuxmint-18-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"gem_version": "~> 1.6.0",
"architecture": "amd64",
"kernel": "Linux",
"augeasversion": "1.12.0",
"domain": "example.com",
"macaddress": "08:00:27:78:40:53",
"facterversion": "1.6.18",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "enp0s3,lo",
"ipaddress_enp0s3": "10.0.2.15",
"macaddress_enp0s3": "08:00:27:78:40:53",
"netmask_enp0s3": "255.255.255.0",
"mtu_enp0s3": "1500",
"ipaddress_lo": "127.0.0.1",
"netmask_lo": "255.0.0.0",
"mtu_lo": "65536",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.4",
"kernelrelease": "4.4.0-53-generic",
"kernelversion": "4.4.0",
"lsbdistcodename": "serena",
"lsbdistdescription": "Linux Mint 18.1 Serena",
"lsbdistid": "LinuxMint",
"lsbdistrelease": "18.1",
"lsbmajdistrelease": "18",
"boardmanufacturer": "Oracle Corporation",
"boardproductname": "VirtualBox",
"boardserialnumber": "0",
"manufacturer": "innotek GmbH",
"productname": "VirtualBox",
"serialnumber": "0",
"type": "Other",
"memorysize": "488.41 MB",
"memoryfree": "265.18 MB",
"swapsize": "510.00 MB",
"swapfree": "309.76 MB",
"memorytotal": "488.41 MB",
"netmask": "255.255.255.0",
"network_enp0s3": "10.0.2.0",
"network_lo": "127.0.0.0",
"operatingsystem": "Debian",
"operatingsystemrelease": "stretch/sid",
"osfamily": "Debian",
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "1",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "false",
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAPUI0CROFT3i0l56Fp/PC2dNQo4lbv5Ilf3ln2FmoPOgT8hUZl7cfhW1U8Y4DHA7+ZyIaHlC5Aho1oZsSwtzYko0SbffKjXgB/BFy0G2SgoVRUH4BCVMsKXDJsX0RPtEMskGKQOoh4Zg6fuMDn5BILpdeW3nM5qF2IWEUAJ/XUzpAAAAFQDlJXwqZjtK7ahvuIQPvy87ZS/7PwAAAIEAh5UNkHW2/aM9j1Utg1mWhq1HEMPD3tcM+uExYugyNlPVo0HZOim3e2DYIgvxdh0mFnowvaOSbkJym7k/+oPPKXKz6c8yRnkUmZtOQ/ClesDI0mZoLkG5jmt/YKy1E7Ds9WikajKSNInbuQkfS8DLVSqiLh8mvMOFDQPFJ9O6wV0AAACAPpuzXJGIf+PuN7uKU5tGcyk8ypfVXAwTAbXy3i1wnL7425ueYd3Q7siEAB2cDgtJM4MHV6uSlcS3fDgLQW70UbMTgUcR0cv1kvi6c+9PWCMevHNdN/laR77o95k2/E1jNH2zcjJCBP1jc2xaOSyA74ipoCfpRKXxJ+rt09ru3oo=",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDDyNxHf2IAFusQsMNatGsHdfJoeT54SBpElOyXaKHoCzqyj0nCdnTGZKGorwg+YjsZYz0rSvLSCiVHumPjU2p4SXM/MRVxCHuSreRB8BWJxyjdB8CblFeN7xaqBS0EuzRh51wijVP3nIBuF7vydU1/OQSRbcV04TKtwtlYxPVzZ19u/0jNn+YL8agVA7/GxtEoJKL8FZntK0mrt7z22WTllNW28YNyl71YdNj8iHQx1LfwtRPL108L9s8SuC4Hg3URUsiEKkxSpCzOzvbS0WqE/6/n+ydEVMnQT5opN9B6R8EORAATmCARBhlAmtgF2ZAg6LLlF7YF6rVmQ+4YUOHh",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBkZ+UQgAvbtDNdwGRzia97X+JllJ34IYZfJqdCPwV8KETmeuwx0Jy+y/bWMJUzf9QAvADpaq1x5X+lzc2VQ4Io=",
"timezone": "CEST",
"uniqueid": "007f0101",
"uptime": "0:04 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 286,
"virtual": "kvm",
"is_virtual": "true"
}
58 changes: 58 additions & 0 deletions facts/1.6/linuxmint-19-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"gem_version": "~> 1.6.0",
"architecture": "amd64",
"kernel": "Linux",
"augeasversion": "1.12.0",
"domain": "example.com",
"macaddress": "08:00:27:0f:4d:e6",
"facterversion": "1.6.18",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "enp0s3,lo",
"macaddress_enp0s3": "08:00:27:0f:4d:e6",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.15",
"kernelrelease": "4.15.0-20-generic",
"kernelversion": "4.15.0",
"lsbdistcodename": "tessa",
"lsbdistdescription": "Linux Mint 19.1 Tessa",
"lsbdistid": "LinuxMint",
"lsbdistrelease": "19.1",
"lsbmajdistrelease": "19",
"boardmanufacturer": "Oracle Corporation",
"boardproductname": "VirtualBox",
"boardserialnumber": "0",
"manufacturer": "innotek GmbH",
"productname": "VirtualBox",
"serialnumber": "0",
"type": "Other",
"memorysize": "985.47 MB",
"memoryfree": "577.62 MB",
"swapsize": "1.36 GB",
"swapfree": "1.35 GB",
"memorytotal": "985.47 MB",
"operatingsystem": "Debian",
"operatingsystemrelease": "buster/sid",
"osfamily": "Debian",
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "1",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "false",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC/nZrjN2twdkh11liS3hbyMY+UXh+oRL0WhVpNTxDkfUJRK4dbjZBD0on5ft2FzbheHBWEq5RY/VKewsIYSOFTLm2iulwKUvpelCvswBHlqMYIMVte2rTybL6RgV7DXQ6RY5aLWx7RDJhyxnxyF7kARakGSwdJ8EOOIdY5m5o6SuhcxiqKMLws2xRq+RsQCQtcU3g80cOPM6qDnAwljjSGmRkzfDeyEegtmAGWGzx07xzGN9awRVWolnpIJ0DNHzMDtesljs8Jr7kkmcK1zukOMfZHi61yxuB6PGCd9fKjrU4ymHJTeZGaDPXYdAmQP5YCMQsZoRo63Z8svG3PFWTD",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMK3beQvwqu1FYNJomSfGqzVh89wB/OB6WyBp8G+8lpzHVpuhk5zPGZnIBq8LkpYXNuE356wWchcEN28UOyCzKE=",
"timezone": "BST",
"uniqueid": "007f0101",
"uptime": "0:04 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 256,
"virtual": "kvm",
"is_virtual": "true"
}
85 changes: 85 additions & 0 deletions facts/1.7/linuxmint-18-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"gem_version": "~> 1.7.0",
"architecture": "amd64",
"augeasversion": "1.12.0",
"kernel": "Linux",
"blockdevice_sda_size": 21474836480,
"blockdevice_sda_vendor": "ATA",
"blockdevice_sda_model": "VBOX HARDDISK",
"blockdevices": "sda",
"domain": "example.com",
"macaddress": "08:00:27:78:40:53",
"osfamily": "Debian",
"operatingsystem": "Debian",
"lsbdistid": "LinuxMint",
"facterversion": "1.7.6",
"filesystems": "btrfs,ext2,ext3,ext4,squashfs,vfat",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "enp0s3,lo",
"ipaddress_enp0s3": "10.0.2.15",
"macaddress_enp0s3": "08:00:27:78:40:53",
"netmask_enp0s3": "255.255.255.0",
"mtu_enp0s3": "1500",
"ipaddress_lo": "127.0.0.1",
"netmask_lo": "255.0.0.0",
"mtu_lo": "65536",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.4",
"kernelrelease": "4.4.0-53-generic",
"kernelversion": "4.4.0",
"lsbdistcodename": "serena",
"lsbdistdescription": "Linux Mint 18.1 Serena",
"lsbdistrelease": "18.1",
"lsbmajdistrelease": "18",
"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": "AF1D2CC4-9501-4F86-8240-6326FB7934DE",
"type": "Other",
"memorysize": "488.41 MB",
"memoryfree": "261.70 MB",
"swapsize": "510.00 MB",
"swapfree": "309.76 MB",
"swapsize_mb": "510.00",
"swapfree_mb": "309.76",
"memorysize_mb": "488.41",
"memoryfree_mb": "261.70",
"memorytotal": "488.41 MB",
"netmask": "255.255.255.0",
"network_enp0s3": "10.0.2.0",
"network_lo": "127.0.0.0",
"operatingsystemmajrelease": "stretch/sid",
"operatingsystemrelease": "stretch/sid",
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "1",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "false",
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAPUI0CROFT3i0l56Fp/PC2dNQo4lbv5Ilf3ln2FmoPOgT8hUZl7cfhW1U8Y4DHA7+ZyIaHlC5Aho1oZsSwtzYko0SbffKjXgB/BFy0G2SgoVRUH4BCVMsKXDJsX0RPtEMskGKQOoh4Zg6fuMDn5BILpdeW3nM5qF2IWEUAJ/XUzpAAAAFQDlJXwqZjtK7ahvuIQPvy87ZS/7PwAAAIEAh5UNkHW2/aM9j1Utg1mWhq1HEMPD3tcM+uExYugyNlPVo0HZOim3e2DYIgvxdh0mFnowvaOSbkJym7k/+oPPKXKz6c8yRnkUmZtOQ/ClesDI0mZoLkG5jmt/YKy1E7Ds9WikajKSNInbuQkfS8DLVSqiLh8mvMOFDQPFJ9O6wV0AAACAPpuzXJGIf+PuN7uKU5tGcyk8ypfVXAwTAbXy3i1wnL7425ueYd3Q7siEAB2cDgtJM4MHV6uSlcS3fDgLQW70UbMTgUcR0cv1kvi6c+9PWCMevHNdN/laR77o95k2/E1jNH2zcjJCBP1jc2xaOSyA74ipoCfpRKXxJ+rt09ru3oo=",
"sshfp_dsa": "SSHFP 2 1 885fde40751fedf8ef14038a4cc3d6dfe47f5343\nSSHFP 2 2 078090497e18d4a5313ab311bc8c6a97b02f989a131e52b26fef6759bcd8df4b",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDDyNxHf2IAFusQsMNatGsHdfJoeT54SBpElOyXaKHoCzqyj0nCdnTGZKGorwg+YjsZYz0rSvLSCiVHumPjU2p4SXM/MRVxCHuSreRB8BWJxyjdB8CblFeN7xaqBS0EuzRh51wijVP3nIBuF7vydU1/OQSRbcV04TKtwtlYxPVzZ19u/0jNn+YL8agVA7/GxtEoJKL8FZntK0mrt7z22WTllNW28YNyl71YdNj8iHQx1LfwtRPL108L9s8SuC4Hg3URUsiEKkxSpCzOzvbS0WqE/6/n+ydEVMnQT5opN9B6R8EORAATmCARBhlAmtgF2ZAg6LLlF7YF6rVmQ+4YUOHh",
"sshfp_rsa": "SSHFP 1 1 fe8447a82e84fb2b2085e91b09c0bf0fc354d687\nSSHFP 1 2 78e674f0316bdad6c5f55bb448f90ecc832550565a8046447998e3abd7aa2d59",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBkZ+UQgAvbtDNdwGRzia97X+JllJ34IYZfJqdCPwV8KETmeuwx0Jy+y/bWMJUzf9QAvADpaq1x5X+lzc2VQ4Io=",
"sshfp_ecdsa": "SSHFP 3 1 ec1793124e8de845683effdc849dfa96f5121050\nSSHFP 3 2 84ae0ca592b074c545d7c79a419b1c20e3fbdcfb63527f516943b0e75c08f4cf",
"timezone": "CEST",
"uniqueid": "007f0101",
"uptime": "0:04 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 292,
"virtual": "kvm",
"is_virtual": "true"
}
81 changes: 81 additions & 0 deletions facts/1.7/linuxmint-19-x86_64.facts
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"gem_version": "~> 1.7.0",
"architecture": "amd64",
"augeasversion": "1.12.0",
"kernel": "Linux",
"blockdevice_sda_size": 31457280000,
"blockdevice_sda_vendor": "ATA",
"blockdevice_sda_model": "VBOX HARDDISK",
"blockdevices": "sda",
"domain": "example.com",
"macaddress": "08:00:27:0f:4d:e6",
"osfamily": "Debian",
"operatingsystem": "Debian",
"lsbdistid": "LinuxMint",
"facterversion": "1.7.6",
"filesystems": "btrfs,ext2,ext3,ext4,squashfs,vfat",
"fqdn": "foo.example.com",
"hardwareisa": "x86_64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "root",
"interfaces": "enp0s3,lo",
"ipaddress_enp0s3": "10.0.2.15",
"macaddress_enp0s3": "08:00:27:0f:4d:e6",
"netmask_enp0s3": "255.255.255.0",
"ipaddress_lo": "127.0.0.1",
"netmask_lo": "255.0.0.0",
"ipaddress": "10.0.2.15",
"kernelmajversion": "4.15",
"kernelrelease": "4.15.0-20-generic",
"kernelversion": "4.15.0",
"lsbdistcodename": "tessa",
"lsbdistdescription": "Linux Mint 19.1 Tessa",
"lsbdistrelease": "19.1",
"lsbmajdistrelease": "19",
"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": "04E7B726-41F3-42F2-80B0-6CB089D1AFD4",
"type": "Other",
"memorysize": "985.47 MB",
"memoryfree": "574.63 MB",
"swapsize": "1.36 GB",
"swapfree": "1.35 GB",
"swapsize_mb": "1391.94",
"swapfree_mb": "1381.68",
"memorysize_mb": "985.47",
"memoryfree_mb": "574.63",
"memorytotal": "985.47 MB",
"netmask": "255.255.255.0",
"network_enp0s3": "10.0.2.0",
"network_lo": "127.0.0.0",
"operatingsystemmajrelease": "buster/sid",
"operatingsystemrelease": "buster/sid",
"path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
"processorcount": "1",
"ps": "ps -ef",
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
"rubyversion": "2.5.3",
"selinux": "false",
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC/nZrjN2twdkh11liS3hbyMY+UXh+oRL0WhVpNTxDkfUJRK4dbjZBD0on5ft2FzbheHBWEq5RY/VKewsIYSOFTLm2iulwKUvpelCvswBHlqMYIMVte2rTybL6RgV7DXQ6RY5aLWx7RDJhyxnxyF7kARakGSwdJ8EOOIdY5m5o6SuhcxiqKMLws2xRq+RsQCQtcU3g80cOPM6qDnAwljjSGmRkzfDeyEegtmAGWGzx07xzGN9awRVWolnpIJ0DNHzMDtesljs8Jr7kkmcK1zukOMfZHi61yxuB6PGCd9fKjrU4ymHJTeZGaDPXYdAmQP5YCMQsZoRo63Z8svG3PFWTD",
"sshfp_rsa": "SSHFP 1 1 5a70678e254829cfa9176bd920014fccff539771\nSSHFP 1 2 f5d501a802d3037b1bb55077db76f9cc3ee38db26e7bf0e81283a7a9c27f77e4",
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMK3beQvwqu1FYNJomSfGqzVh89wB/OB6WyBp8G+8lpzHVpuhk5zPGZnIBq8LkpYXNuE356wWchcEN28UOyCzKE=",
"sshfp_ecdsa": "SSHFP 3 1 1aade95e2b0fd84b8c9d854de1145774e774c88f\nSSHFP 3 2 a187a8fa52845e138fbbbf4d48f815b207a18d6f02308c6f52752210e4c83344",
"timezone": "BST",
"uniqueid": "007f0101",
"uptime": "0:04 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 262,
"virtual": "kvm",
"is_virtual": "true"
}
Loading