facterdb 1.11.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -0
  3. data/CHANGELOG.md +59 -0
  4. data/README.md +6 -4
  5. data/Rakefile +2 -0
  6. data/facterdb.gemspec +3 -0
  7. data/facts/1.6/amazon-2017-x86_64.facts +3 -3
  8. data/facts/1.6/archlinux-x86_64.facts +1 -0
  9. data/facts/1.6/fedora-19-i386.facts +1 -0
  10. data/facts/1.6/fedora-19-x86_64.facts +1 -0
  11. data/facts/1.6/ubuntu-18.04-aarch64.facts +1 -1
  12. data/facts/1.7/amazon-2017-x86_64.facts +3 -3
  13. data/facts/1.7/archlinux-x86_64.facts +1 -0
  14. data/facts/1.7/centos-9-x86_64.facts +3 -3
  15. data/facts/1.7/ubuntu-18.04-aarch64.facts +1 -1
  16. data/facts/2.0/amazon-2017-x86_64.facts +3 -3
  17. data/facts/2.0/archlinux-x86_64.facts +1 -0
  18. data/facts/2.0/centos-9-x86_64.facts +3 -3
  19. data/facts/2.0/ubuntu-18.04-aarch64.facts +3 -1
  20. data/facts/2.1/amazon-2017-x86_64.facts +9 -9
  21. data/facts/2.1/archlinux-x86_64.facts +1 -0
  22. data/facts/2.1/centos-9-x86_64.facts +3 -3
  23. data/facts/2.1/ubuntu-18.04-aarch64.facts +3 -2
  24. data/facts/2.2/amazon-2017-x86_64.facts +9 -9
  25. data/facts/2.2/archlinux-x86_64.facts +1 -0
  26. data/facts/2.2/centos-9-x86_64.facts +3 -3
  27. data/facts/2.2/sles-15-x86_64.facts +1 -0
  28. data/facts/2.2/ubuntu-18.04-aarch64.facts +3 -2
  29. data/facts/2.3/amazon-2017-x86_64.facts +9 -9
  30. data/facts/2.3/archlinux-x86_64.facts +1 -0
  31. data/facts/2.3/centos-9-x86_64.facts +3 -3
  32. data/facts/2.3/sles-15-x86_64.facts +1 -0
  33. data/facts/2.3/ubuntu-18.04-aarch64.facts +3 -2
  34. data/facts/2.4/amazon-2017-x86_64.facts +9 -9
  35. data/facts/2.4/archlinux-x86_64.facts +1 -0
  36. data/facts/2.4/centos-9-x86_64.facts +3 -3
  37. data/facts/2.4/sles-15-x86_64.facts +1 -0
  38. data/facts/2.4/ubuntu-18.04-aarch64.facts +3 -2
  39. data/facts/2.4/windows-2012 r2-x64.facts +1 -0
  40. data/facts/2.4/windows-7-x64.facts +1 -0
  41. data/facts/2.5/archlinux-x86_64.facts +1 -0
  42. data/facts/2.5/sles-15-x86_64.facts +2 -0
  43. data/facts/2.5/solaris-10-i86pc.facts +4 -15
  44. data/facts/2.5/ubuntu-18.04-aarch64.facts +3 -2
  45. data/facts/3.0/ubuntu-15.10-i386.facts +6 -0
  46. data/facts/3.0/ubuntu-15.10-x86_64.facts +6 -0
  47. data/facts/3.10/archlinux-x86_64.facts +2 -1
  48. data/facts/3.10/ubuntu-18.04-aarch64.facts +9 -2
  49. data/facts/3.11/archlinux-x86_64.facts +3 -2
  50. data/facts/3.11/solaris-10-i86pc.facts +4 -10
  51. data/facts/3.12/archlinux-x86_64.facts +3 -2
  52. data/facts/3.14/VirtuozzoLinux-7-x86_64.facts +4 -4
  53. data/facts/3.14/archlinux-x86_64.facts +2 -1
  54. data/facts/3.14/centos-9-x86_64.facts +478 -0
  55. data/facts/3.14/rocky-8-x86_64.facts +6 -6
  56. data/facts/3.14/ubuntu-21.04-x86_64.facts +6 -6
  57. data/facts/3.14/ubuntu-21.10-x86_64.facts +609 -0
  58. data/facts/3.2/aix-53-powerpc.facts +8 -2
  59. data/facts/3.2/aix-61-powerpc.facts +8 -2
  60. data/facts/3.2/aix-71-powerpc.facts +8 -2
  61. data/facts/3.6/amazon-2017-x86_64.facts +9 -9
  62. data/facts/3.6/pcs-6-x86_64.facts +8 -2
  63. data/facts/3.9/aix-7.1-power.facts +4 -4
  64. data/facts/3.9/archlinux-x86_64.facts +2 -1
  65. data/facts/3.9/solaris-10-i86pc.facts +4 -10
  66. data/facts/4.0/centos-7-x86_64.facts +3 -16
  67. data/facts/4.0/debian-10-x86_64.facts +3 -17
  68. data/facts/4.0/debian-11-x86_64.facts +256 -68
  69. data/facts/4.0/fedora-32-x86_64.facts +233 -35
  70. data/facts/4.0/fedora-33-x86_64.facts +229 -27
  71. data/facts/4.0/fedora-34-x86_64.facts +234 -33
  72. data/facts/4.0/fedora-35-x86_64.facts +504 -0
  73. data/facts/4.0/freebsd-11-x86_64.facts +237 -22
  74. data/facts/4.0/freebsd-12-x86_64.facts +239 -24
  75. data/facts/4.0/freebsd-13-x86_64.facts +287 -18
  76. data/facts/4.0/oraclelinux-7-x86_64.facts +3 -16
  77. data/facts/4.0/redhat-7-x86_64.facts +3 -16
  78. data/facts/4.0/scientific-7-x86_64.facts +3 -16
  79. data/facts/4.0/solaris-11-sun4v.facts +3 -6
  80. data/facts/4.0/ubuntu-18.04-x86_64.facts +280 -62
  81. data/facts/4.0/ubuntu-20.04-x86_64.facts +365 -75
  82. data/facts/4.0/ubuntu-21.04-x86_64.facts +646 -0
  83. data/facts/4.0/ubuntu-21.10-x86_64.facts +624 -0
  84. data/facts/4.1/debian-11-x86_64.facts +256 -68
  85. data/facts/4.1/fedora-32-x86_64.facts +231 -33
  86. data/facts/4.1/fedora-33-x86_64.facts +229 -27
  87. data/facts/4.1/fedora-34-x86_64.facts +236 -35
  88. data/facts/4.1/fedora-35-x86_64.facts +506 -0
  89. data/facts/4.1/freebsd-11-x86_64.facts +237 -22
  90. data/facts/4.1/freebsd-12-x86_64.facts +239 -24
  91. data/facts/4.1/freebsd-13-x86_64.facts +287 -18
  92. data/facts/4.1/ubuntu-18.04-x86_64.facts +280 -62
  93. data/facts/4.1/ubuntu-20.04-x86_64.facts +365 -75
  94. data/facts/4.1/ubuntu-21.04-x86_64.facts +648 -0
  95. data/facts/4.1/ubuntu-21.10-x86_64.facts +626 -0
  96. data/facts/4.2/centos-9-x86_64.facts +14 -3
  97. data/facts/4.2/fedora-32-x86_64.facts +236 -38
  98. data/facts/4.2/fedora-33-x86_64.facts +229 -27
  99. data/facts/4.2/fedora-35-x86_64.facts +506 -0
  100. data/facts/4.2/freebsd-11-x86_64.facts +22 -22
  101. data/facts/4.2/freebsd-12-x86_64.facts +25 -25
  102. data/facts/4.2/freebsd-13-x86_64.facts +242 -26
  103. data/facts/4.2/oraclelinux-9-x86_64.facts +14 -3
  104. data/facts/4.2/redhat-9-x86_64.facts +14 -3
  105. data/facts/4.2/ubuntu-18.04-x86_64.facts +280 -62
  106. data/facts/4.2/ubuntu-20.04-x86_64.facts +365 -75
  107. data/facts/4.2/ubuntu-21.04-x86_64.facts +654 -0
  108. data/facts/4.2/ubuntu-21.10-x86_64.facts +632 -0
  109. data/facts/Gemfile +2 -0
  110. data/facts/Vagrantfile +29 -62
  111. data/facts/get_facts.sh +10 -184
  112. data/lib/facterdb/version.rb +1 -1
  113. data/spec/facts_spec.rb +33 -27
  114. metadata +15 -4
@@ -37,7 +37,7 @@
37
37
  "uuid": "EC209762-DEF6-9B34-BB6F-EBA5E5EE4C56"
38
38
  }
39
39
  },
40
- "domain": "us-gov-west-1.compute.internal",
40
+ "domain": "example.com",
41
41
  "ec2_metadata": {
42
42
  "ami-id": "ami-b2d056d3",
43
43
  "ami-launch-index": "0",
@@ -46,14 +46,14 @@
46
46
  "ami": "/dev/xvda",
47
47
  "root": "/dev/xvda"
48
48
  },
49
- "hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
49
+ "hostname": "foo.example.com",
50
50
  "iam": {
51
51
  "info": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2017-09-14T21:04:53Z\",\n \"InstanceProfileArn\" : \"arn:aws-us-gov:iam::050287752177:instance-profile/caf-dev-default-role\",\n \"InstanceProfileId\" : \"AIPAK7C66WYDVS3ZKCQRI\"\n}"
52
52
  },
53
53
  "instance-action": "none",
54
54
  "instance-id": "i-021bd29b48d609819",
55
55
  "instance-type": "t2.small",
56
- "local-hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
56
+ "local-hostname": "foo.example.com",
57
57
  "local-ipv4": "10.254.253.132",
58
58
  "mac": "02:85:e9:60:90:d4",
59
59
  "metrics": {
@@ -65,7 +65,7 @@
65
65
  "02:85:e9:60:90:d4": {
66
66
  "device-number": "0",
67
67
  "interface-id": "eni-f53215b3",
68
- "local-hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
68
+ "local-hostname": "foo.example.com",
69
69
  "local-ipv4s": "10.254.253.132",
70
70
  "mac": "02:85:e9:60:90:d4",
71
71
  "owner-id": "050287752177",
@@ -99,11 +99,11 @@
99
99
  "ec2_userdata": "#!/bin/bash -ex\nyum -y update\nrpm -Uvh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-6.noarch.rpm\nyum -y install puppet-agent\nmkdir -p /etc/puppet/modules\n/opt/puppetlabs/bin/puppet module install saz-sudo\n/opt/puppetlabs/bin/puppet module install puppetlabs-accounts\naws --region us-gov-west-1 s3 cp s3://caf-ops-deployment/user_data/users_ops.pp /root/\n/opt/puppetlabs/bin/puppet apply /root/users_ops.pp",
100
100
  "facterversion": "3.6.5",
101
101
  "filesystems": "ext3,ext4",
102
- "fqdn": "ip-10-254-253-132.us-gov-west-1.compute.internal",
102
+ "fqdn": "foo.example.com",
103
103
  "gid": "root",
104
104
  "hardwareisa": "x86_64",
105
105
  "hardwaremodel": "x86_64",
106
- "hostname": "ip-10-254-253-132",
106
+ "hostname": "foo",
107
107
  "id": "root",
108
108
  "identity": {
109
109
  "gid": 0,
@@ -196,9 +196,9 @@
196
196
  "network_lo": "127.0.0.0",
197
197
  "networking": {
198
198
  "dhcp": "10.254.253.129",
199
- "domain": "us-gov-west-1.compute.internal",
200
- "fqdn": "ip-10-254-253-132.us-gov-west-1.compute.internal",
201
- "hostname": "ip-10-254-253-132",
199
+ "domain": "example.com",
200
+ "fqdn": "foo.example.com",
201
+ "hostname": "foo",
202
202
  "interfaces": {
203
203
  "eth0": {
204
204
  "bindings": [
@@ -1,4 +1,8 @@
1
1
  {
2
+ "ipaddress": "192.168.0.1",
3
+ "fqdn": "foo.example.com",
4
+ "domain": "example.com",
5
+ "hostname": "foo",
2
6
  "aio_agent_version": "1.10.1",
3
7
  "augeas": {
4
8
  "version": "1.4.0"
@@ -137,8 +141,8 @@
137
141
  },
138
142
  "networking": {
139
143
  "domain": "example.com",
140
- "fqdn": "pcs-6-x86_64.example.com",
141
- "hostname": "pcs-6-x86_64",
144
+ "fqdn": "foo.example.com",
145
+ "hostname": "foo",
142
146
  "interfaces": {
143
147
  "br0": {
144
148
  "bindings": [
@@ -282,6 +286,8 @@
282
286
  "network6": "fec0::",
283
287
  "primary": "eth0"
284
288
  },
289
+ "operatingsystem": "RedHat",
290
+ "osfamily": "RedHat",
285
291
  "os": {
286
292
  "architecture": "x86_64",
287
293
  "family": "RedHat",
@@ -16,11 +16,11 @@
16
16
  "domain": "example.com",
17
17
  "facterversion": "3.9.4",
18
18
  "filesystems": "ahafs,autofs,cachefs,cdrfs,cifs,jfs,jfs2,namefs,nfs,nfs3,nfs4,pmemfs,procfs,sfs,stnfs,udfs",
19
- "fqdn": "hostname.example.com",
19
+ "fqdn": "foo.example.com",
20
20
  "gid": "system",
21
21
  "hardwareisa": "powerpc",
22
22
  "hardwaremodel": "IBM,8284-22A",
23
- "hostname": "hostname",
23
+ "hostname": "foo",
24
24
  "id": "root",
25
25
  "identity": {
26
26
  "gid": 0,
@@ -189,8 +189,8 @@
189
189
  "network_lo0": "127.0.0.0",
190
190
  "networking": {
191
191
  "domain": "example.com",
192
- "fqdn": "hostname.example.com",
193
- "hostname": "hostname",
192
+ "fqdn": "foo.example.com",
193
+ "hostname": "foo",
194
194
  "interfaces": {
195
195
  "en0": {
196
196
  "bindings6": [
@@ -51,7 +51,7 @@
51
51
  "facterversion": "3.9.5",
52
52
  "filesystems": "btrfs",
53
53
  "fips_enabled": false,
54
- "fqdn": "archlinux",
54
+ "fqdn": "foo.example.com",
55
55
  "gid": "root",
56
56
  "hardwareisa": "unknown",
57
57
  "hardwaremodel": "x86_64",
@@ -325,6 +325,7 @@
325
325
  "networking": {
326
326
  "dhcp": "10.0.2.2",
327
327
  "fqdn": "foo.example.com",
328
+ "domain": "example.com",
328
329
  "hostname": "foo",
329
330
  "interfaces": {
330
331
  "eth0": {
@@ -53,12 +53,12 @@
53
53
  "env_temp_variable": "/tmp",
54
54
  "facterversion": "3.9.5",
55
55
  "filesystems": "autofs,cachefs,ctfs,dcfs,devfs,fdfs,fifofs,hsfs,lofs,mntfs,namefs,nfs,objfs,pcfs,procfs,sharefs,sockfs,specfs,tmpfs,udfs,ufs,xmemfs",
56
- "fqdn": "hostname",
56
+ "fqdn": "foo.example.com",
57
57
  "gemhome": "/opt/puppetlabs/puppet/lib/ruby/gems/2.4.0",
58
58
  "gid": "root",
59
59
  "hardwareisa": "i386",
60
60
  "hardwaremodel": "i86pc",
61
- "hostname": "hostname",
61
+ "hostname": "foo",
62
62
  "id": "root",
63
63
  "identity": {
64
64
  "gid": 0,
@@ -406,8 +406,8 @@
406
406
  "network_lo0": "127.0.0.0",
407
407
  "networking": {
408
408
  "domain": "example.com",
409
- "fqdn": "hostname",
410
- "hostname": "hostname",
409
+ "fqdn": "foo.example.com",
410
+ "hostname": "foo",
411
411
  "interfaces": {
412
412
  "bnx0": {
413
413
  "bindings": [
@@ -499,7 +499,6 @@
499
499
  }
500
500
  },
501
501
  "osfamily": "Solaris",
502
- "package_provider": "sun",
503
502
  "path": "/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/sfw/bin:/usr/local/sbin:/opt/puppet/bin:/sbin",
504
503
  "pe_concat_basedir": "/opt/puppetlabs/puppet/cache/pe_concat",
505
504
  "physicalprocessorcount": 2,
@@ -552,7 +551,6 @@
552
551
  "puppet_client_datadir": "/opt/puppetlabs/puppet/cache/client_data",
553
552
  "puppet_confdir": "/etc/puppetlabs/puppet",
554
553
  "puppet_config": "/etc/puppetlabs/puppet/puppet.conf",
555
- "puppet_environmentpath": "/etc/puppetlabs/code/environments",
556
554
  "puppet_files_dir_present": false,
557
555
  "puppet_inventory_metadata": {
558
556
  "packages": {
@@ -561,7 +559,6 @@
561
559
  }
562
560
  },
563
561
  "puppet_master_server": "puppet",
564
- "puppet_server": "puppet",
565
562
  "puppet_ssldir": "/etc/puppetlabs/puppet/ssl",
566
563
  "puppet_sslpaths": {
567
564
  "certdir": {
@@ -590,9 +587,7 @@
590
587
  }
591
588
  },
592
589
  "puppet_stringify_facts": false,
593
- "puppet_vardir": "/opt/puppetlabs/puppet/cache",
594
590
  "puppetversion": "5.3.5",
595
- "root_home": "/root",
596
591
  "ruby": {
597
592
  "platform": "i386-solaris2.10",
598
593
  "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.4.0",
@@ -605,7 +600,6 @@
605
600
  "serial_port_ttya": "disabled",
606
601
  "serial_port_ttyb": "disabled",
607
602
  "serialnumber": "URE768W6C4",
608
- "service_provider": "smf",
609
603
  "solaris_zones": {
610
604
  "current": "global",
611
605
  "zones": {
@@ -1,4 +1,7 @@
1
1
  {
2
+ "ipaddress": "192.168.0.1",
3
+ "operatingsystem": "CentOS",
4
+ "osfamily": "RedHat",
2
5
  "os": {
3
6
  "family": "RedHat",
4
7
  "name": "CentOS",
@@ -584,17 +587,6 @@
584
587
  "is_valid_hostname": false,
585
588
  "puppet_files_dir_present": false,
586
589
  "context": "",
587
- "package_provider": "yum",
588
- "systemd": true,
589
- "systemd_version": "219",
590
- "systemd_internal_services": {
591
- "systemd-bootchart.service": "disabled",
592
- "systemd-nspawn@.service": "disabled",
593
- "systemd-readahead-collect.service": "enabled",
594
- "systemd-readahead-done.service": "indirect",
595
- "systemd-readahead-drop.service": "enabled",
596
- "systemd-readahead-replay.service": "enabled"
597
- },
598
590
  "current_environment": "production",
599
591
  "primary_iface": "eth0",
600
592
  "staging_http_get": "curl",
@@ -668,16 +660,11 @@
668
660
  }
669
661
  },
670
662
  "function_number": "",
671
- "root_home": "/root",
672
663
  "virt_libvirt": false,
673
664
  "stage": "pulp",
674
665
  "mysql_server_id": 23179131,
675
- "puppet_vardir": "/opt/puppetlabs/puppet/cache",
676
- "puppet_environmentpath": "/etc/puppetlabs/code/environments",
677
- "puppet_server": "pe-infranext-prod.infc-aws.puppet.net",
678
666
  "selinux_python_command": "python",
679
667
  "is_pe": false,
680
- "service_provider": "systemd",
681
668
  "pe_patch": {
682
669
  "package_updates": [],
683
670
  "package_update_count": 0,
@@ -1,4 +1,7 @@
1
1
  {
2
+ "ipaddress": "192.168.0.1",
3
+ "operatingsystem": "Debian",
4
+ "osfamily": "Debian",
2
5
  "os": {
3
6
  "architecture": "amd64",
4
7
  "release": {
@@ -588,7 +591,6 @@
588
591
  }
589
592
  }
590
593
  },
591
- "package_provider": "apt",
592
594
  "current_environment": "production",
593
595
  "puppet_agent_pid": 2614,
594
596
  "windows_java_temp": "\\tmp",
@@ -1014,20 +1016,6 @@
1014
1016
  "apt_dist_updates": 130,
1015
1017
  "apt_security_updates": 45,
1016
1018
  "apt_security_dist_updates": 47,
1017
- "puppet_vardir": "/opt/puppetlabs/puppet/cache",
1018
- "puppet_environmentpath": "/etc/puppetlabs/code/environments",
1019
- "puppet_server": "pe-infranext-prod.infc-aws.puppet.net",
1020
- "systemd": true,
1021
- "systemd_version": "241",
1022
- "systemd_internal_services": {
1023
- "systemd-boot-check-no-failures.service": "disabled",
1024
- "systemd-fsck-root.service": "enabled-runtime",
1025
- "systemd-networkd-wait-online.service": "disabled",
1026
- "systemd-networkd.service": "disabled",
1027
- "systemd-resolved.service": "disabled",
1028
- "systemd-time-wait-sync.service": "disabled",
1029
- "systemd-timesyncd.service": "enabled"
1030
- },
1031
1019
  "network_nexthop_ip": "10.16.112.1",
1032
1020
  "network_primary_interface": "ens192",
1033
1021
  "network_primary_ip": "10.16.124.235",
@@ -1056,13 +1044,11 @@
1056
1044
  "id": ""
1057
1045
  },
1058
1046
  "ip6tables_version": "1.8.2",
1059
- "root_home": "/root",
1060
1047
  "primary_ip": "10.16.124.235",
1061
1048
  "primary_iface": "eth0",
1062
1049
  "group": "marital",
1063
1050
  "function_number": "",
1064
1051
  "platform_symlink_writable": true,
1065
- "service_provider": "systemd",
1066
1052
  "pe_patch": {
1067
1053
  "package_updates": [],
1068
1054
  "package_update_count": 0,