facterdb 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +2 -2
- data/.travis.yml +1 -1
- data/CHANGELOG.md +39 -0
- data/README.md +88 -83
- data/Rakefile +21 -7
- data/facts/1.6/archlinux-x86_64.facts +21 -34
- data/facts/1.6/centos-6-x86_64.facts +50 -49
- data/facts/1.6/centos-7-x86_64.facts +20 -21
- data/facts/1.6/debian-10-x86_64.facts +57 -0
- data/facts/1.6/debian-8-x86_64.facts +34 -29
- data/facts/1.6/debian-9-x86_64.facts +56 -0
- data/facts/1.6/fedora-28-x86_64.facts +52 -0
- data/facts/1.6/fedora-29-x86_64.facts +52 -0
- data/facts/1.6/fedora-30-x86_64.facts +52 -0
- data/facts/1.6/freebsd-11-x86_64.facts +15 -15
- data/facts/1.6/freebsd-12-x86_64.facts +50 -0
- data/facts/1.6/linuxmint-18-x86_64.facts +68 -0
- data/facts/1.6/linuxmint-19-x86_64.facts +58 -0
- data/facts/1.6/openbsd-6.2-i386.facts +62 -0
- data/facts/1.6/openbsd-6.2-x86_64.facts +62 -0
- data/facts/1.6/openbsd-6.3-i386.facts +62 -0
- data/facts/1.6/openbsd-6.3-x86_64.facts +62 -0
- data/facts/1.6/openbsd-6.4-x86_64.facts +62 -0
- data/facts/1.6/oraclelinux-6-x86_64.facts +50 -49
- data/facts/1.6/oraclelinux-7-x86_64.facts +20 -21
- data/facts/1.6/redhat-6-x86_64.facts +50 -49
- data/facts/1.6/redhat-7-x86_64.facts +20 -21
- data/facts/1.6/redhat-8-x86_64.facts +60 -0
- data/facts/1.6/scientific-6-x86_64.facts +50 -49
- data/facts/1.6/scientific-7-x86_64.facts +20 -21
- data/facts/1.6/sles-11-x86_64.facts +58 -51
- data/facts/1.6/sles-12-x86_64.facts +26 -41
- data/facts/1.6/ubuntu-14.04-x86_64.facts +12 -13
- data/facts/1.6/ubuntu-16.04-x86_64.facts +27 -27
- data/facts/1.6/ubuntu-18.04-x86_64.facts +18 -17
- data/facts/1.7/archlinux-x86_64.facts +31 -58
- data/facts/1.7/centos-6-x86_64.facts +67 -66
- data/facts/1.7/centos-7-x86_64.facts +26 -27
- data/facts/1.7/debian-10-x86_64.facts +73 -0
- data/facts/1.7/debian-8-x86_64.facts +41 -36
- data/facts/1.7/debian-9-x86_64.facts +72 -0
- data/facts/1.7/fedora-26-x86_64.facts +53 -53
- data/facts/1.7/fedora-28-x86_64.facts +71 -0
- data/facts/1.7/fedora-29-x86_64.facts +71 -0
- data/facts/1.7/fedora-30-x86_64.facts +71 -0
- data/facts/1.7/freebsd-11-x86_64.facts +23 -23
- data/facts/1.7/freebsd-12-x86_64.facts +64 -0
- data/facts/1.7/linuxmint-18-x86_64.facts +85 -0
- data/facts/1.7/linuxmint-19-x86_64.facts +81 -0
- data/facts/1.7/openbsd-6.2-i386.facts +69 -0
- data/facts/1.7/openbsd-6.2-x86_64.facts +69 -0
- data/facts/1.7/openbsd-6.3-i386.facts +69 -0
- data/facts/1.7/openbsd-6.3-x86_64.facts +69 -0
- data/facts/1.7/openbsd-6.4-x86_64.facts +69 -0
- data/facts/1.7/oraclelinux-6-x86_64.facts +67 -66
- data/facts/1.7/oraclelinux-7-x86_64.facts +26 -27
- data/facts/1.7/redhat-6-x86_64.facts +67 -66
- data/facts/1.7/redhat-7-x86_64.facts +26 -27
- data/facts/1.7/redhat-8-x86_64.facts +83 -0
- data/facts/1.7/scientific-6-x86_64.facts +67 -66
- data/facts/1.7/scientific-7-x86_64.facts +26 -27
- data/facts/1.7/sles-11-x86_64.facts +73 -71
- data/facts/1.7/sles-12-x86_64.facts +63 -60
- data/facts/1.7/ubuntu-14.04-x86_64.facts +13 -14
- data/facts/1.7/ubuntu-16.04-x86_64.facts +40 -37
- data/facts/1.7/ubuntu-18.04-x86_64.facts +24 -23
- data/facts/2.0/archlinux-x86_64.facts +47 -73
- data/facts/2.0/centos-6-x86_64.facts +62 -61
- data/facts/2.0/centos-7-x86_64.facts +27 -26
- data/facts/2.0/darwin-17-x86_64.facts +92 -0
- data/facts/2.0/darwin-18-x86_64.facts +91 -0
- data/facts/2.0/debian-10-x86_64.facts +75 -0
- data/facts/2.0/debian-8-x86_64.facts +75 -70
- data/facts/2.0/debian-9-x86_64.facts +66 -77
- data/facts/2.0/fedora-26-x86_64.facts +5 -19
- data/facts/2.0/fedora-28-x86_64.facts +71 -0
- data/facts/2.0/fedora-29-x86_64.facts +71 -0
- data/facts/2.0/fedora-30-x86_64.facts +71 -0
- data/facts/2.0/freebsd-11-x86_64.facts +46 -46
- data/facts/2.0/freebsd-12-x86_64.facts +65 -0
- data/facts/2.0/linuxmint-18-x86_64.facts +86 -0
- data/facts/2.0/linuxmint-19-x86_64.facts +82 -0
- data/facts/2.0/openbsd-6.2-i386.facts +70 -0
- data/facts/2.0/openbsd-6.2-x86_64.facts +70 -0
- data/facts/2.0/openbsd-6.3-i386.facts +70 -0
- data/facts/2.0/openbsd-6.3-x86_64.facts +70 -0
- data/facts/2.0/openbsd-6.4-x86_64.facts +70 -0
- data/facts/2.0/oraclelinux-6-x86_64.facts +62 -61
- data/facts/2.0/oraclelinux-7-x86_64.facts +27 -26
- data/facts/2.0/redhat-6-x86_64.facts +62 -61
- data/facts/2.0/redhat-7-x86_64.facts +27 -26
- data/facts/2.0/redhat-8-x86_64.facts +83 -0
- data/facts/2.0/scientific-6-x86_64.facts +62 -61
- data/facts/2.0/scientific-7-x86_64.facts +27 -26
- data/facts/2.0/sles-11-x86_64.facts +72 -70
- data/facts/2.0/sles-12-x86_64.facts +64 -68
- data/facts/2.0/ubuntu-14.04-x86_64.facts +13 -14
- data/facts/2.0/ubuntu-16.04-x86_64.facts +70 -67
- data/facts/2.0/ubuntu-18.04-x86_64.facts +63 -62
- data/facts/2.1/archlinux-x86_64.facts +57 -86
- data/facts/2.1/centos-6-x86_64.facts +69 -68
- data/facts/2.1/centos-7-x86_64.facts +28 -27
- data/facts/2.1/darwin-17-x86_64.facts +92 -0
- data/facts/2.1/darwin-18-x86_64.facts +91 -0
- data/facts/2.1/debian-10-x86_64.facts +92 -0
- data/facts/2.1/debian-8-x86_64.facts +90 -74
- data/facts/2.1/debian-9-x86_64.facts +77 -89
- data/facts/2.1/fedora-26-x86_64.facts +6 -28
- data/facts/2.1/fedora-28-x86_64.facts +85 -0
- data/facts/2.1/fedora-29-x86_64.facts +90 -0
- data/facts/2.1/fedora-30-x86_64.facts +90 -0
- data/facts/2.1/freebsd-11-x86_64.facts +45 -45
- data/facts/2.1/freebsd-12-x86_64.facts +65 -0
- data/facts/2.1/linuxmint-18-x86_64.facts +106 -0
- data/facts/2.1/linuxmint-19-x86_64.facts +95 -0
- data/facts/2.1/openbsd-6.2-i386.facts +72 -0
- data/facts/2.1/openbsd-6.2-x86_64.facts +72 -0
- data/facts/2.1/openbsd-6.3-i386.facts +72 -0
- data/facts/2.1/openbsd-6.3-x86_64.facts +72 -0
- data/facts/2.1/openbsd-6.4-x86_64.facts +72 -0
- data/facts/2.1/oraclelinux-6-x86_64.facts +69 -68
- data/facts/2.1/oraclelinux-7-x86_64.facts +28 -27
- data/facts/2.1/redhat-6-x86_64.facts +69 -68
- data/facts/2.1/redhat-7-x86_64.facts +28 -27
- data/facts/2.1/redhat-8-x86_64.facts +97 -0
- data/facts/2.1/scientific-6-x86_64.facts +69 -68
- data/facts/2.1/scientific-7-x86_64.facts +28 -27
- data/facts/2.1/sles-11-x86_64.facts +76 -79
- data/facts/2.1/sles-12-x86_64.facts +74 -89
- data/facts/2.1/ubuntu-14.04-x86_64.facts +13 -14
- data/facts/2.1/ubuntu-16.04-x86_64.facts +75 -81
- data/facts/2.1/ubuntu-18.04-x86_64.facts +74 -73
- data/facts/2.2/archlinux-x86_64.facts +76 -107
- data/facts/2.2/centos-6-x86_64.facts +90 -89
- data/facts/2.2/centos-7-x86_64.facts +33 -32
- data/facts/2.2/darwin-17-x86_64.facts +113 -0
- data/facts/2.2/darwin-18-x86_64.facts +112 -0
- data/facts/2.2/debian-10-x86_64.facts +123 -0
- data/facts/2.2/debian-8-x86_64.facts +115 -98
- data/facts/2.2/debian-9-x86_64.facts +100 -112
- data/facts/2.2/fedora-26-x86_64.facts +13 -14
- data/facts/2.2/fedora-28-x86_64.facts +107 -0
- data/facts/2.2/fedora-29-x86_64.facts +112 -0
- data/facts/2.2/fedora-30-x86_64.facts +112 -0
- data/facts/2.2/freebsd-11-x86_64.facts +63 -63
- data/facts/2.2/freebsd-12-x86_64.facts +86 -0
- data/facts/2.2/linuxmint-18-x86_64.facts +138 -0
- data/facts/2.2/linuxmint-19-x86_64.facts +127 -0
- data/facts/2.2/openbsd-6.2-i386.facts +140 -0
- data/facts/2.2/openbsd-6.2-x86_64.facts +140 -0
- data/facts/2.2/openbsd-6.3-i386.facts +140 -0
- data/facts/2.2/openbsd-6.3-x86_64.facts +140 -0
- data/facts/2.2/openbsd-6.4-x86_64.facts +140 -0
- data/facts/2.2/oraclelinux-6-x86_64.facts +90 -89
- data/facts/2.2/oraclelinux-7-x86_64.facts +33 -32
- data/facts/2.2/redhat-6-x86_64.facts +90 -89
- data/facts/2.2/redhat-7-x86_64.facts +33 -32
- data/facts/2.2/redhat-8-x86_64.facts +121 -0
- data/facts/2.2/scientific-6-x86_64.facts +90 -89
- data/facts/2.2/scientific-7-x86_64.facts +33 -32
- data/facts/2.2/sles-11-x86_64.facts +93 -96
- data/facts/2.2/sles-12-x86_64.facts +101 -93
- data/facts/2.2/ubuntu-14.04-x86_64.facts +16 -17
- data/facts/2.2/ubuntu-16.04-x86_64.facts +90 -95
- data/facts/2.2/ubuntu-18.04-x86_64.facts +90 -89
- data/facts/2.3/archlinux-x86_64.facts +73 -104
- data/facts/2.3/centos-6-x86_64.facts +96 -95
- data/facts/2.3/centos-7-x86_64.facts +33 -32
- data/facts/2.3/darwin-17-x86_64.facts +114 -0
- data/facts/2.3/darwin-18-x86_64.facts +113 -0
- data/facts/2.3/debian-10-x86_64.facts +124 -0
- data/facts/2.3/debian-8-x86_64.facts +116 -99
- data/facts/2.3/debian-9-x86_64.facts +102 -114
- data/facts/2.3/fedora-26-x86_64.facts +7 -8
- data/facts/2.3/fedora-28-x86_64.facts +108 -0
- data/facts/2.3/fedora-29-x86_64.facts +113 -0
- data/facts/2.3/fedora-30-x86_64.facts +113 -0
- data/facts/2.3/freebsd-11-x86_64.facts +48 -48
- data/facts/2.3/freebsd-12-x86_64.facts +87 -0
- data/facts/2.3/linuxmint-18-x86_64.facts +139 -0
- data/facts/2.3/linuxmint-19-x86_64.facts +128 -0
- data/facts/2.3/openbsd-6.2-i386.facts +143 -0
- data/facts/2.3/openbsd-6.2-x86_64.facts +143 -0
- data/facts/2.3/openbsd-6.3-i386.facts +143 -0
- data/facts/2.3/openbsd-6.3-x86_64.facts +143 -0
- data/facts/2.3/openbsd-6.4-x86_64.facts +143 -0
- data/facts/2.3/oraclelinux-6-x86_64.facts +96 -95
- data/facts/2.3/oraclelinux-7-x86_64.facts +33 -32
- data/facts/2.3/redhat-6-x86_64.facts +96 -95
- data/facts/2.3/redhat-7-x86_64.facts +33 -32
- data/facts/2.3/redhat-8-x86_64.facts +122 -0
- data/facts/2.3/scientific-6-x86_64.facts +96 -95
- data/facts/2.3/scientific-7-x86_64.facts +33 -32
- data/facts/2.3/sles-11-x86_64.facts +96 -99
- data/facts/2.3/sles-12-x86_64.facts +93 -85
- data/facts/2.3/ubuntu-14.04-x86_64.facts +16 -17
- data/facts/2.3/ubuntu-16.04-x86_64.facts +91 -96
- data/facts/2.3/ubuntu-18.04-x86_64.facts +91 -90
- data/facts/2.4/archlinux-x86_64.facts +79 -108
- data/facts/2.4/centos-6-x86_64.facts +90 -88
- data/facts/2.4/centos-7-x86_64.facts +34 -32
- data/facts/2.4/darwin-17-x86_64.facts +114 -0
- data/facts/2.4/darwin-18-x86_64.facts +113 -0
- data/facts/2.4/debian-10-x86_64.facts +124 -0
- data/facts/2.4/debian-8-x86_64.facts +117 -99
- data/facts/2.4/debian-9-x86_64.facts +103 -114
- data/facts/2.4/fedora-26-x86_64.facts +94 -127
- data/facts/2.4/fedora-28-x86_64.facts +110 -0
- data/facts/2.4/fedora-29-x86_64.facts +114 -0
- data/facts/2.4/fedora-30-x86_64.facts +114 -0
- data/facts/2.4/freebsd-11-x86_64.facts +58 -58
- data/facts/2.4/freebsd-12-x86_64.facts +87 -0
- data/facts/2.4/linuxmint-18-x86_64.facts +140 -0
- data/facts/2.4/linuxmint-19-x86_64.facts +129 -0
- data/facts/2.4/openbsd-6.2-i386.facts +143 -0
- data/facts/2.4/openbsd-6.2-x86_64.facts +143 -0
- data/facts/2.4/openbsd-6.3-i386.facts +143 -0
- data/facts/2.4/openbsd-6.3-x86_64.facts +143 -0
- data/facts/2.4/openbsd-6.4-x86_64.facts +143 -0
- data/facts/2.4/oraclelinux-6-x86_64.facts +90 -88
- data/facts/2.4/oraclelinux-7-x86_64.facts +34 -32
- data/facts/2.4/redhat-6-x86_64.facts +90 -88
- data/facts/2.4/redhat-7-x86_64.facts +34 -32
- data/facts/2.4/redhat-8-x86_64.facts +123 -0
- data/facts/2.4/scientific-6-x86_64.facts +90 -88
- data/facts/2.4/scientific-7-x86_64.facts +34 -32
- data/facts/2.4/sles-11-x86_64.facts +96 -98
- data/facts/2.4/sles-12-x86_64.facts +104 -44
- data/facts/2.4/ubuntu-14.04-x86_64.facts +17 -17
- data/facts/2.4/ubuntu-16.04-x86_64.facts +93 -96
- data/facts/2.4/ubuntu-18.04-x86_64.facts +92 -90
- data/facts/2.5/archlinux-x86_64.facts +98 -0
- data/facts/2.5/centos-6-x86_64.facts +91 -105
- data/facts/2.5/centos-7-x86_64.facts +57 -60
- data/facts/2.5/darwin-17-x86_64.facts +114 -0
- data/facts/2.5/darwin-18-x86_64.facts +113 -0
- data/facts/2.5/debian-10-x86_64.facts +124 -0
- data/facts/2.5/debian-8-x86_64.facts +121 -114
- data/facts/2.5/debian-9-x86_64.facts +103 -114
- data/facts/2.5/fedora-28-x86_64.facts +74 -74
- data/facts/2.5/fedora-29-x86_64.facts +114 -0
- data/facts/2.5/fedora-30-x86_64.facts +114 -0
- data/facts/2.5/freebsd-11-x86_64.facts +60 -60
- data/facts/2.5/freebsd-12-x86_64.facts +87 -0
- data/facts/2.5/linuxmint-18-x86_64.facts +140 -0
- data/facts/2.5/linuxmint-19-x86_64.facts +129 -0
- data/facts/2.5/openbsd-6.2-i386.facts +143 -0
- data/facts/2.5/openbsd-6.2-x86_64.facts +143 -0
- data/facts/2.5/openbsd-6.3-i386.facts +143 -0
- data/facts/2.5/openbsd-6.3-x86_64.facts +143 -0
- data/facts/2.5/openbsd-6.4-x86_64.facts +143 -0
- data/facts/2.5/oraclelinux-5-x86_64.facts +115 -117
- data/facts/2.5/oraclelinux-6-x86_64.facts +90 -94
- data/facts/2.5/oraclelinux-7-x86_64.facts +70 -78
- data/facts/2.5/redhat-5-x86_64.facts +109 -103
- data/facts/2.5/redhat-6-x86_64.facts +97 -111
- data/facts/2.5/redhat-7-x86_64.facts +66 -68
- data/facts/2.5/redhat-8-x86_64.facts +123 -0
- data/facts/2.5/scientific-5-x86_64.facts +109 -103
- data/facts/2.5/scientific-6-x86_64.facts +96 -92
- data/facts/2.5/scientific-7-x86_64.facts +62 -65
- data/facts/2.5/sles-11-x86_64.facts +100 -103
- data/facts/2.5/sles-12-x86_64.facts +94 -94
- data/facts/2.5/solaris-10-i86pc.facts +201 -0
- data/facts/2.5/ubuntu-14.04-x86_64.facts +100 -103
- data/facts/2.5/ubuntu-16.04-x86_64.facts +97 -102
- data/facts/2.5/ubuntu-18.04-x86_64.facts +92 -90
- data/facts/2.5/windows-2019-x86_64.facts +73 -0
- data/facts/3.0/centos-6-x86_64.facts +127 -163
- data/facts/3.0/centos-7-x86_64.facts +75 -66
- data/facts/3.0/oraclelinux-5-x86_64.facts +83 -121
- data/facts/3.0/oraclelinux-6-x86_64.facts +109 -127
- data/facts/3.0/oraclelinux-7-x86_64.facts +75 -66
- data/facts/3.0/redhat-5-x86_64.facts +81 -72
- data/facts/3.0/redhat-6-x86_64.facts +127 -163
- data/facts/3.0/redhat-7-x86_64.facts +75 -66
- data/facts/3.0/scientific-5-x86_64.facts +85 -76
- data/facts/3.0/scientific-6-x86_64.facts +126 -147
- data/facts/3.0/scientific-7-x86_64.facts +75 -66
- data/facts/3.0/windows-2019-x86_64.facts +143 -0
- data/facts/3.1/centos-6-x86_64.facts +138 -174
- data/facts/3.1/centos-7-x86_64.facts +83 -74
- data/facts/3.1/oraclelinux-5-x86_64.facts +93 -107
- data/facts/3.1/oraclelinux-6-x86_64.facts +120 -138
- data/facts/3.1/oraclelinux-7-x86_64.facts +83 -74
- data/facts/3.1/redhat-5-x86_64.facts +92 -79
- data/facts/3.1/redhat-6-x86_64.facts +138 -174
- data/facts/3.1/redhat-7-x86_64.facts +83 -74
- data/facts/3.1/scientific-5-x86_64.facts +96 -83
- data/facts/3.1/scientific-6-x86_64.facts +135 -156
- data/facts/3.1/scientific-7-x86_64.facts +83 -74
- data/facts/3.1/windows-2019-x86_64.facts +160 -0
- data/facts/3.10/centos-5-i386.facts +357 -0
- data/facts/3.10/centos-5-x86_64.facts +357 -0
- data/facts/3.10/centos-6-i386.facts +349 -0
- data/facts/3.10/centos-6-x86_64.facts +34 -34
- data/facts/3.10/centos-7-x86_64.facts +34 -34
- data/facts/3.10/darwin-15-x86_64.facts +398 -0
- data/facts/3.10/darwin-16-x86_64.facts +402 -0
- data/facts/3.10/darwin-17-x86_64.facts +423 -0
- data/facts/3.10/debian-8-x86_64.facts +162 -155
- data/facts/3.10/debian-9-x86_64.facts +122 -90
- data/facts/3.10/freebsd-11-amd64.facts +460 -0
- data/facts/3.10/freebsd-12-amd64.facts +460 -0
- data/facts/3.10/linuxmint-18-x86_64.facts +457 -0
- data/facts/3.10/openbsd-6.3-i386.facts +411 -0
- data/facts/3.10/openbsd-6.3-x86_64.facts +411 -0
- data/facts/3.10/oraclelinux-5-x86_64.facts +357 -0
- data/facts/3.10/oraclelinux-6-x86_64.facts +34 -34
- data/facts/3.10/oraclelinux-7-x86_64.facts +34 -34
- data/facts/3.10/redhat-5-i386.facts +357 -0
- data/facts/3.10/redhat-5-x86_64.facts +357 -0
- data/facts/3.10/redhat-6-i386.facts +349 -0
- data/facts/3.10/redhat-6-x86_64.facts +34 -34
- data/facts/3.10/redhat-7-x86_64.facts +34 -34
- data/facts/3.10/scientific-5-i386.facts +357 -0
- data/facts/3.10/scientific-5-x86_64.facts +357 -0
- data/facts/3.10/scientific-6-i386.facts +349 -0
- data/facts/3.10/scientific-6-x86_64.facts +34 -34
- data/facts/3.10/scientific-7-x86_64.facts +34 -34
- data/facts/3.10/sles-11-i386.facts +348 -0
- data/facts/3.10/sles-11-x86_64.facts +365 -0
- data/facts/3.10/sles-12-x86_64.facts +785 -0
- data/facts/3.10/ubuntu-14.04-x86_64.facts +33 -33
- data/facts/3.10/ubuntu-16.04-x86_64.facts +86 -86
- data/facts/3.10/windows-10-i386.facts +166 -0
- data/facts/3.10/windows-10-x86_64.facts +166 -0
- data/facts/3.10/windows-2012 r2-core-x86_64.facts +166 -0
- data/facts/3.10/windows-2012 r2-x86_64.facts +166 -0
- data/facts/3.10/windows-2012-x86_64.facts +166 -0
- data/facts/3.10/windows-2016-x86_64.facts +166 -0
- data/facts/3.10/windows-2019-x86_64.facts +166 -0
- data/facts/3.11/centos-5-i386.facts +359 -0
- data/facts/3.11/centos-5-x86_64.facts +359 -0
- data/facts/3.11/centos-6-i386.facts +351 -0
- data/facts/3.11/centos-6-x86_64.facts +73 -41
- data/facts/3.11/centos-7-i386.facts +427 -0
- data/facts/3.11/centos-7-x86_64.facts +145 -50
- data/facts/3.11/darwin-16-x86_64.facts +457 -0
- data/facts/3.11/darwin-17-x86_64.facts +427 -0
- data/facts/3.11/darwin-18-x86_64.facts +451 -0
- data/facts/3.11/debian-10-x86_64.facts +426 -0
- data/facts/3.11/debian-8-x86_64.facts +162 -155
- data/facts/3.11/debian-9-x86_64.facts +202 -83
- data/facts/3.11/fedora-28-x86_64.facts +418 -0
- data/facts/3.11/fedora-29-x86_64.facts +530 -0
- data/facts/3.11/freebsd-11-amd64.facts +463 -0
- data/facts/3.11/freebsd-12-amd64.facts +463 -0
- data/facts/3.11/linuxmint-18-x86_64.facts +461 -0
- data/facts/3.11/linuxmint-19-x86_64.facts +426 -0
- data/facts/3.11/opensuse-15-x86_64.facts +584 -0
- data/facts/3.11/oraclelinux-5-x86_64.facts +359 -0
- data/facts/3.11/oraclelinux-6-i386.facts +351 -0
- data/facts/3.11/oraclelinux-6-x86_64.facts +73 -41
- data/facts/3.11/oraclelinux-7-i386.facts +427 -0
- data/facts/3.11/oraclelinux-7-x86_64.facts +145 -50
- data/facts/3.11/redhat-5-i386.facts +359 -0
- data/facts/3.11/redhat-5-x86_64.facts +359 -0
- data/facts/3.11/redhat-6-i386.facts +351 -0
- data/facts/3.11/redhat-6-x86_64.facts +73 -41
- data/facts/3.11/redhat-7-i386.facts +427 -0
- data/facts/3.11/redhat-7-x86_64.facts +145 -50
- data/facts/3.11/redhat-8-x86_64.facts +504 -0
- data/facts/3.11/scientific-5-i386.facts +359 -0
- data/facts/3.11/scientific-5-x86_64.facts +359 -0
- data/facts/3.11/scientific-6-i386.facts +351 -0
- data/facts/3.11/scientific-6-x86_64.facts +73 -41
- data/facts/3.11/scientific-7-i386.facts +427 -0
- data/facts/3.11/scientific-7-x86_64.facts +145 -50
- data/facts/3.11/sles-11-i386.facts +351 -0
- data/facts/3.11/sles-11-x86_64.facts +429 -0
- data/facts/3.11/sles-12-x86_64.facts +873 -0
- data/facts/3.11/solaris-10-i86pc.facts +603 -0
- data/facts/3.11/ubuntu-14.04-x86_64.facts +36 -36
- data/facts/3.11/ubuntu-16.04-x86_64.facts +86 -86
- data/facts/3.11/ubuntu-18.04-x86_64.facts +157 -70
- data/facts/3.11/windows-10-i386.facts +176 -0
- data/facts/3.11/windows-10-x86_64.facts +176 -0
- data/facts/3.11/windows-2012 r2-core-x86_64.facts +174 -0
- data/facts/3.11/windows-2012 r2-x86_64.facts +174 -0
- data/facts/3.11/windows-2012-x86_64.facts +174 -0
- data/facts/3.11/windows-2016-x86_64.facts +176 -0
- data/facts/3.11/windows-2019-x86_64.facts +176 -0
- data/facts/3.12/centos-6-x86_64.facts +351 -0
- data/facts/3.12/centos-7-x86_64.facts +427 -0
- data/facts/3.12/darwin-16-x86_64.facts +440 -0
- data/facts/3.12/darwin-17-x86_64.facts +461 -0
- data/facts/3.12/debian-8-x86_64.facts +452 -0
- data/facts/3.12/debian-9-x86_64.facts +472 -0
- data/facts/3.12/fedora-28-x86_64.facts +418 -0
- data/facts/3.12/fedora-29-x86_64.facts +423 -0
- data/facts/3.12/freebsd-11-amd64.facts +493 -0
- data/facts/3.12/freebsd-12-amd64.facts +493 -0
- data/facts/3.12/linuxmint-18-x86_64.facts +461 -0
- data/facts/3.12/linuxmint-19-x86_64.facts +426 -0
- data/facts/3.12/openbsd-6.4-x86_64.facts +412 -0
- data/facts/3.12/oraclelinux-6-x86_64.facts +351 -0
- data/facts/3.12/oraclelinux-7-x86_64.facts +427 -0
- data/facts/3.12/redhat-6-x86_64.facts +351 -0
- data/facts/3.12/redhat-7-x86_64.facts +427 -0
- data/facts/3.12/redhat-8-x86_64.facts +409 -0
- data/facts/3.12/scientific-6-x86_64.facts +351 -0
- data/facts/3.12/scientific-7-x86_64.facts +427 -0
- data/facts/3.12/sles-11-x86_64.facts +368 -0
- data/facts/3.12/sles-12-x86_64.facts +789 -0
- data/facts/3.12/ubuntu-14.04-x86_64.facts +460 -0
- data/facts/3.12/ubuntu-16.04-x86_64.facts +432 -0
- data/facts/3.12/ubuntu-18.04-x86_64.facts +432 -0
- data/facts/3.12/windows-10-i386.facts +168 -0
- data/facts/3.12/windows-10-x86_64.facts +168 -0
- data/facts/3.12/windows-2012 r2-core-x86_64.facts +168 -0
- data/facts/3.12/windows-2012 r2-x86_64.facts +168 -0
- data/facts/3.12/windows-2012-x86_64.facts +168 -0
- data/facts/3.12/windows-2016-x86_64.facts +168 -0
- data/facts/3.12/windows-2019-x86_64.facts +168 -0
- data/facts/3.13/archlinux-x86_64.facts +421 -0
- data/facts/3.13/centos-6-x86_64.facts +351 -0
- data/facts/3.13/centos-7-x86_64.facts +427 -0
- data/facts/3.13/darwin-16-x86_64.facts +423 -0
- data/facts/3.13/darwin-17-x86_64.facts +444 -0
- data/facts/3.13/darwin-18-x86_64.facts +434 -0
- data/facts/3.13/debian-8-x86_64.facts +452 -0
- data/facts/3.13/debian-9-x86_64.facts +472 -0
- data/facts/3.13/fedora-28-x86_64.facts +418 -0
- data/facts/3.13/fedora-29-x86_64.facts +423 -0
- data/facts/3.13/freebsd-11-amd64.facts +493 -0
- data/facts/3.13/freebsd-12-amd64.facts +493 -0
- data/facts/3.13/linuxmint-18-x86_64.facts +461 -0
- data/facts/3.13/linuxmint-19-x86_64.facts +426 -0
- data/facts/3.13/oraclelinux-6-x86_64.facts +351 -0
- data/facts/3.13/oraclelinux-7-x86_64.facts +427 -0
- data/facts/3.13/redhat-6-x86_64.facts +351 -0
- data/facts/3.13/redhat-7-x86_64.facts +427 -0
- data/facts/3.13/redhat-8-x86_64.facts +415 -0
- data/facts/3.13/scientific-6-x86_64.facts +351 -0
- data/facts/3.13/scientific-7-x86_64.facts +427 -0
- data/facts/3.13/sles-11-x86_64.facts +368 -0
- data/facts/3.13/sles-12-x86_64.facts +789 -0
- data/facts/3.13/ubuntu-14.04-x86_64.facts +460 -0
- data/facts/3.13/ubuntu-16.04-x86_64.facts +432 -0
- data/facts/3.13/ubuntu-18.04-x86_64.facts +432 -0
- data/facts/3.13/windows-10-i386.facts +168 -0
- data/facts/3.13/windows-10-x86_64.facts +168 -0
- data/facts/3.13/windows-2012 r2-core-x86_64.facts +168 -0
- data/facts/3.13/windows-2012 r2-x86_64.facts +168 -0
- data/facts/3.13/windows-2012-x86_64.facts +168 -0
- data/facts/3.13/windows-2016-x86_64.facts +168 -0
- data/facts/3.13/windows-2019-x86_64.facts +168 -0
- data/facts/3.14/centos-6-x86_64.facts +351 -0
- data/facts/3.14/centos-7-x86_64.facts +427 -0
- data/facts/3.14/darwin-16-x86_64.facts +406 -0
- data/facts/3.14/darwin-17-x86_64.facts +427 -0
- data/facts/3.14/darwin-18-x86_64.facts +417 -0
- data/facts/3.14/debian-8-x86_64.facts +452 -0
- data/facts/3.14/debian-9-x86_64.facts +472 -0
- data/facts/3.14/fedora-28-x86_64.facts +418 -0
- data/facts/3.14/fedora-29-x86_64.facts +423 -0
- data/facts/3.14/fedora-30-x86_64.facts +423 -0
- data/facts/3.14/freebsd-11-amd64.facts +485 -0
- data/facts/3.14/freebsd-12-amd64.facts +494 -0
- data/facts/3.14/linuxmint-18-x86_64.facts +461 -0
- data/facts/3.14/linuxmint-19-x86_64.facts +426 -0
- data/facts/3.14/oraclelinux-6-x86_64.facts +351 -0
- data/facts/3.14/oraclelinux-7-x86_64.facts +427 -0
- data/facts/3.14/redhat-6-x86_64.facts +351 -0
- data/facts/3.14/redhat-7-x86_64.facts +427 -0
- data/facts/3.14/redhat-8-x86_64.facts +415 -0
- data/facts/3.14/scientific-6-x86_64.facts +351 -0
- data/facts/3.14/scientific-7-x86_64.facts +427 -0
- data/facts/3.14/sles-11-x86_64.facts +368 -0
- data/facts/3.14/sles-12-x86_64.facts +789 -0
- data/facts/3.14/ubuntu-14.04-x86_64.facts +460 -0
- data/facts/3.14/ubuntu-16.04-x86_64.facts +432 -0
- data/facts/3.14/ubuntu-18.04-x86_64.facts +432 -0
- data/facts/3.14/windows-10-i386.facts +176 -0
- data/facts/3.14/windows-10-x86_64.facts +176 -0
- data/facts/3.14/windows-2012 r2-core-x86_64.facts +174 -0
- data/facts/3.14/windows-2012 r2-x86_64.facts +174 -0
- data/facts/3.14/windows-2012-x86_64.facts +174 -0
- data/facts/3.14/windows-2016-x86_64.facts +176 -0
- data/facts/3.14/windows-2019-x86_64.facts +176 -0
- data/facts/3.3/centos-6-x86_64.facts +138 -174
- data/facts/3.3/centos-7-x86_64.facts +85 -76
- data/facts/3.3/oraclelinux-5-x86_64.facts +93 -107
- data/facts/3.3/oraclelinux-6-x86_64.facts +119 -137
- data/facts/3.3/oraclelinux-7-x86_64.facts +85 -76
- data/facts/3.3/redhat-5-x86_64.facts +92 -79
- data/facts/3.3/redhat-6-x86_64.facts +138 -174
- data/facts/3.3/redhat-7-x86_64.facts +85 -76
- data/facts/3.3/scientific-5-x86_64.facts +96 -83
- data/facts/3.3/scientific-6-x86_64.facts +135 -156
- data/facts/3.3/scientific-7-x86_64.facts +85 -76
- data/facts/3.3/windows-2019-x86_64.facts +160 -0
- data/facts/3.4/oraclelinux-5-x86_64.facts +93 -107
- data/facts/3.4/oraclelinux-6-x86_64.facts +123 -105
- data/facts/3.4/oraclelinux-7-x86_64.facts +99 -109
- data/facts/3.4/redhat-5-x86_64.facts +92 -79
- data/facts/3.4/redhat-6-x86_64.facts +62 -62
- data/facts/3.4/redhat-7-x86_64.facts +110 -111
- data/facts/3.4/scientific-5-x86_64.facts +96 -83
- data/facts/3.4/scientific-6-x86_64.facts +97 -82
- data/facts/3.4/scientific-7-x86_64.facts +85 -85
- data/facts/3.4/sles-11-x86_64.facts +146 -149
- data/facts/3.4/sles-12-x86_64.facts +507 -136
- data/facts/3.4/windows-2019-x86_64.facts +162 -0
- data/facts/3.5/oraclelinux-5-x86_64.facts +97 -111
- data/facts/3.5/oraclelinux-6-x86_64.facts +129 -110
- data/facts/3.5/oraclelinux-7-x86_64.facts +120 -134
- data/facts/3.5/redhat-5-x86_64.facts +94 -81
- data/facts/3.5/redhat-6-x86_64.facts +63 -63
- data/facts/3.5/redhat-7-x86_64.facts +140 -125
- data/facts/3.5/scientific-5-x86_64.facts +100 -87
- data/facts/3.5/scientific-6-x86_64.facts +97 -82
- data/facts/3.5/scientific-7-x86_64.facts +100 -100
- data/facts/3.5/sles-11-x86_64.facts +164 -165
- data/facts/3.5/sles-12-x86_64.facts +544 -152
- data/facts/3.5/windows-2019-x86_64.facts +162 -0
- data/facts/3.6/centos-6-x86_64.facts +36 -36
- data/facts/3.6/centos-7-x86_64.facts +32 -32
- data/facts/3.6/oraclelinux-5-x86_64.facts +97 -111
- data/facts/3.6/oraclelinux-6-x86_64.facts +36 -36
- data/facts/3.6/oraclelinux-7-x86_64.facts +32 -32
- data/facts/{2.4 → 3.6}/pcs-6-x86_64.facts +0 -0
- data/facts/3.6/redhat-5-x86_64.facts +92 -79
- data/facts/3.6/redhat-6-x86_64.facts +36 -36
- data/facts/3.6/redhat-7-x86_64.facts +32 -32
- data/facts/3.6/scientific-5-x86_64.facts +100 -87
- data/facts/3.6/scientific-6-x86_64.facts +36 -36
- data/facts/3.6/scientific-7-x86_64.facts +32 -32
- data/facts/3.6/sles-11-x86_64.facts +167 -168
- data/facts/3.6/sles-12-x86_64.facts +547 -155
- data/facts/3.6/windows-2019-x86_64.facts +162 -0
- data/facts/3.7/centos-6-x86_64.facts +143 -180
- data/facts/3.7/centos-7-x86_64.facts +146 -162
- data/facts/3.7/debian-8-x86_64.facts +203 -222
- data/facts/3.7/linuxmint-18-x86_64.facts +450 -0
- data/facts/3.7/oraclelinux-5-x86_64.facts +97 -111
- data/facts/3.7/oraclelinux-6-x86_64.facts +124 -142
- data/facts/3.7/oraclelinux-7-x86_64.facts +176 -206
- data/facts/3.7/redhat-5-x86_64.facts +94 -81
- data/facts/3.7/redhat-6-x86_64.facts +143 -180
- data/facts/3.7/redhat-7-x86_64.facts +187 -188
- data/facts/3.7/scientific-5-x86_64.facts +100 -87
- data/facts/3.7/scientific-6-x86_64.facts +140 -162
- data/facts/3.7/scientific-7-x86_64.facts +154 -170
- data/facts/3.7/sles-11-x86_64.facts +164 -165
- data/facts/3.7/sles-12-x86_64.facts +549 -157
- data/facts/3.7/ubuntu-14.04-x86_64.facts +131 -149
- data/facts/3.7/ubuntu-16.04-x86_64.facts +162 -223
- data/facts/3.7/windows-2019-x86_64.facts +162 -0
- data/facts/3.8/centos-6-x86_64.facts +142 -179
- data/facts/3.8/centos-7-x86_64.facts +149 -165
- data/facts/3.8/debian-8-x86_64.facts +205 -224
- data/facts/3.8/debian-9-x86_64.facts +204 -218
- data/facts/3.8/linuxmint-18-x86_64.facts +450 -0
- data/facts/3.8/openbsd-6.2-i386.facts +417 -0
- data/facts/3.8/openbsd-6.2-x86_64.facts +417 -0
- data/facts/3.8/oraclelinux-5-x86_64.facts +98 -112
- data/facts/3.8/oraclelinux-6-x86_64.facts +147 -189
- data/facts/3.8/oraclelinux-7-x86_64.facts +177 -207
- data/facts/3.8/redhat-5-x86_64.facts +92 -79
- data/facts/3.8/redhat-6-x86_64.facts +144 -181
- data/facts/3.8/redhat-7-x86_64.facts +188 -189
- data/facts/3.8/scientific-5-x86_64.facts +99 -86
- data/facts/3.8/scientific-6-x86_64.facts +141 -163
- data/facts/3.8/scientific-7-x86_64.facts +155 -171
- data/facts/3.8/sles-11-x86_64.facts +165 -166
- data/facts/3.8/sles-12-x86_64.facts +550 -158
- data/facts/3.8/ubuntu-14.04-x86_64.facts +132 -150
- data/facts/3.8/ubuntu-16.04-x86_64.facts +163 -224
- data/facts/3.8/windows-2019-x86_64.facts +162 -0
- data/facts/3.9/{archlinux-4-x86_64.facts → archlinux-x86_64.facts} +0 -0
- data/facts/3.9/centos-5-i386.facts +356 -0
- data/facts/3.9/centos-5-x86_64.facts +356 -0
- data/facts/3.9/centos-6-i386.facts +348 -0
- data/facts/3.9/centos-6-x86_64.facts +34 -34
- data/facts/3.9/centos-7-x86_64.facts +34 -34
- data/facts/3.9/darwin-15-x86_64.facts +415 -0
- data/facts/3.9/darwin-16-x86_64.facts +419 -0
- data/facts/3.9/darwin-17-x86_64.facts +440 -0
- data/facts/3.9/debian-8-x86_64.facts +162 -155
- data/facts/3.9/debian-9-x86_64.facts +120 -88
- data/facts/3.9/freebsd-11-amd64.facts +123 -123
- data/facts/3.9/freebsd-12-amd64.facts +460 -0
- data/facts/3.9/linuxmint-18-x86_64.facts +456 -0
- data/facts/3.9/oraclelinux-5-x86_64.facts +356 -0
- data/facts/3.9/oraclelinux-6-x86_64.facts +34 -34
- data/facts/3.9/oraclelinux-7-x86_64.facts +34 -34
- data/facts/3.9/redhat-5-i386.facts +356 -0
- data/facts/3.9/redhat-5-x86_64.facts +356 -0
- data/facts/3.9/redhat-6-i386.facts +348 -0
- data/facts/3.9/redhat-6-x86_64.facts +34 -34
- data/facts/3.9/redhat-7-x86_64.facts +34 -34
- data/facts/3.9/scientific-5-i386.facts +356 -0
- data/facts/3.9/scientific-5-x86_64.facts +356 -0
- data/facts/3.9/scientific-6-i386.facts +348 -0
- data/facts/3.9/scientific-6-x86_64.facts +34 -34
- data/facts/3.9/scientific-7-x86_64.facts +34 -34
- data/facts/3.9/sles-11-i386.facts +347 -0
- data/facts/3.9/sles-11-x86_64.facts +364 -0
- data/facts/3.9/sles-12-x86_64.facts +784 -0
- data/facts/3.9/{solaris-10-i386.facts → solaris-10-i86pc.facts} +0 -5
- data/facts/3.9/ubuntu-14.04-x86_64.facts +34 -34
- data/facts/3.9/ubuntu-16.04-x86_64.facts +86 -86
- data/facts/3.9/windows-10-i386.facts +166 -0
- data/facts/3.9/windows-10-x86_64.facts +166 -0
- data/facts/3.9/windows-2012 r2-core-x86_64.facts +166 -0
- data/facts/3.9/windows-2012 r2-x86_64.facts +166 -0
- data/facts/3.9/windows-2012-x86_64.facts +166 -0
- data/facts/3.9/windows-2016-x86_64.facts +166 -0
- data/facts/3.9/windows-2019-x86_64.facts +166 -0
- data/facts/Vagrantfile +78 -46
- data/facts/get_facts.sh +184 -63
- data/lib/facterdb/version.rb +1 -1
- data/rakelib/rhel_alts.rake +24 -0
- data/spec/facterdb_spec.rb +252 -114
- data/spec/facts_spec.rb +81 -0
- data/spec/spec_helper.rb +9 -2
- metadata +328 -45
- data/facts/1.6/fedora-26-x86_64.facts +0 -72
- data/facts/1.6/solaris-11-x86_64.facts +0 -60
- data/facts/1.7/solaris-11-x86_64.facts +0 -80
- data/facts/2.0/solaris-11-x86_64.facts +0 -82
- data/facts/2.1/solaris-11-x86_64.facts +0 -82
- data/facts/2.2/solaris-11-x86_64.facts +0 -105
- data/facts/2.4/fedora-20-x86_64.facts +0 -116
- data/facts/2.4/fedora-21-x86_64.facts +0 -123
- data/facts/2.5/amazon-2017-x86_64.facts +0 -61
- data/facts/2.5/archlinux-4-x86_64.facts +0 -98
- data/facts/2.5/fedora-20-x86_64.facts +0 -116
- data/facts/2.5/fedora-21-x86_64.facts +0 -123
- data/facts/3.0/fedora-20-x86_64.facts +0 -116
- data/facts/3.0/fedora-21-x86_64.facts +0 -123
- data/facts/3.0/fedora-26-x86_64.facts +0 -143
- data/facts/3.1/fedora-20-x86_64.facts +0 -116
- data/facts/3.1/fedora-21-x86_64.facts +0 -123
- data/facts/3.1/fedora-26-x86_64.facts +0 -143
- data/facts/3.2/fedora-20-x86_64.facts +0 -116
- data/facts/3.2/fedora-21-x86_64.facts +0 -123
- data/facts/3.2/fedora-26-x86_64.facts +0 -143
- data/facts/3.3/fedora-20-x86_64.facts +0 -116
- data/facts/3.3/fedora-21-x86_64.facts +0 -123
- data/facts/3.3/fedora-26-x86_64.facts +0 -143
- data/facts/3.4/fedora-20-x86_64.facts +0 -116
- data/facts/3.4/fedora-21-x86_64.facts +0 -123
- data/facts/3.4/fedora-26-x86_64.facts +0 -143
- data/facts/3.5/fedora-20-x86_64.facts +0 -116
- data/facts/3.5/fedora-21-x86_64.facts +0 -123
- data/facts/3.5/fedora-26-x86_64.facts +0 -143
- data/facts/3.6/fedora-20-x86_64.facts +0 -116
- data/facts/3.6/fedora-21-x86_64.facts +0 -123
- data/facts/3.6/fedora-26-x86_64.facts +0 -143
- data/facts/3.7/fedora-20-x86_64.facts +0 -116
- data/facts/3.7/fedora-21-x86_64.facts +0 -123
- data/facts/3.7/fedora-26-x86_64.facts +0 -143
- data/facts/3.8/fedora-20-x86_64.facts +0 -116
- data/facts/3.8/fedora-21-x86_64.facts +0 -123
- data/facts/3.8/fedora-26-x86_64.facts +0 -143
- data/facts/3.9/solaris-10-x86_64.facts +0 -679
@@ -0,0 +1,166 @@
|
|
1
|
+
{
|
2
|
+
"aio_agent_version": "5.3.8",
|
3
|
+
"architecture": "x64",
|
4
|
+
"dhcp_servers": {
|
5
|
+
"Ethernet0": "10.32.22.10",
|
6
|
+
"system": "10.32.22.10"
|
7
|
+
},
|
8
|
+
"dmi": {
|
9
|
+
"manufacturer": "VMware, Inc.",
|
10
|
+
"product": {
|
11
|
+
"name": "VMware7,1",
|
12
|
+
"serial_number": "VMware-42 1a 65 2a a1 3e 6b 5f-55 3e 02 33 74 0e 05 b7"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"domain": "example.com",
|
16
|
+
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
|
17
|
+
"facterversion": "3.9.6",
|
18
|
+
"fqdn": "foo.example.com",
|
19
|
+
"hardwareisa": "x64",
|
20
|
+
"hardwaremodel": "x86_64",
|
21
|
+
"hostname": "foo",
|
22
|
+
"hypervisors": {
|
23
|
+
"vmware": {
|
24
|
+
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"id": "K2PIKVP2I4KJ0UP\\Administrator",
|
28
|
+
"identity": {
|
29
|
+
"privileged": true,
|
30
|
+
"user": "K2PIKVP2I4KJ0UP\\Administrator"
|
31
|
+
},
|
32
|
+
"interfaces": "Ethernet0",
|
33
|
+
"ipaddress": "10.16.112.107",
|
34
|
+
"ipaddress6": "fe80::880d:c1b2:b168:3062%4",
|
35
|
+
"ipaddress6_Ethernet0": "fe80::880d:c1b2:b168:3062%4",
|
36
|
+
"ipaddress_Ethernet0": "10.16.112.107",
|
37
|
+
"is_virtual": true,
|
38
|
+
"kernel": "windows",
|
39
|
+
"kernelmajversion": "10.0",
|
40
|
+
"kernelrelease": "10.0.17763",
|
41
|
+
"kernelversion": "10.0.17763",
|
42
|
+
"macaddress": "00:50:56:9A:3B:9B",
|
43
|
+
"macaddress_Ethernet0": "00:50:56:9A:3B:9B",
|
44
|
+
"manufacturer": "VMware, Inc.",
|
45
|
+
"memory": {
|
46
|
+
"system": {
|
47
|
+
"available": "2.76 GiB",
|
48
|
+
"available_bytes": 2959282176,
|
49
|
+
"capacity": "31.08%",
|
50
|
+
"total": "4.00 GiB",
|
51
|
+
"total_bytes": 4293898240,
|
52
|
+
"used": "1.24 GiB",
|
53
|
+
"used_bytes": 1334616064
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"memoryfree": "2.76 GiB",
|
57
|
+
"memoryfree_mb": 2822.19140625,
|
58
|
+
"memorysize": "4.00 GiB",
|
59
|
+
"memorysize_mb": 4094.98046875,
|
60
|
+
"mtu_Ethernet0": 1500,
|
61
|
+
"netmask": "255.255.240.0",
|
62
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
63
|
+
"netmask6_Ethernet0": "ffff:ffff:ffff:ffff::",
|
64
|
+
"netmask_Ethernet0": "255.255.240.0",
|
65
|
+
"network": "10.16.112.0",
|
66
|
+
"network6": "fe80::%4",
|
67
|
+
"network6_Ethernet0": "fe80::%4",
|
68
|
+
"network_Ethernet0": "10.16.112.0",
|
69
|
+
"networking": {
|
70
|
+
"dhcp": "10.32.22.10",
|
71
|
+
"domain": "example.com",
|
72
|
+
"fqdn": "foo.example.com",
|
73
|
+
"hostname": "foo",
|
74
|
+
"interfaces": {
|
75
|
+
"Ethernet0": {
|
76
|
+
"bindings": [
|
77
|
+
{
|
78
|
+
"address": "10.16.112.107",
|
79
|
+
"netmask": "255.255.240.0",
|
80
|
+
"network": "10.16.112.0"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"bindings6": [
|
84
|
+
{
|
85
|
+
"address": "fe80::880d:c1b2:b168:3062%4",
|
86
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
87
|
+
"network": "fe80::%4"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"dhcp": "10.32.22.10",
|
91
|
+
"ip": "10.16.112.107",
|
92
|
+
"ip6": "fe80::880d:c1b2:b168:3062%4",
|
93
|
+
"mac": "00:50:56:9A:3B:9B",
|
94
|
+
"mtu": 1500,
|
95
|
+
"netmask": "255.255.240.0",
|
96
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
97
|
+
"network": "10.16.112.0",
|
98
|
+
"network6": "fe80::%4"
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"ip": "10.16.112.107",
|
102
|
+
"ip6": "fe80::880d:c1b2:b168:3062%4",
|
103
|
+
"mac": "00:50:56:9A:3B:9B",
|
104
|
+
"mtu": 1500,
|
105
|
+
"netmask": "255.255.240.0",
|
106
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
107
|
+
"network": "10.16.112.0",
|
108
|
+
"network6": "fe80::%4",
|
109
|
+
"primary": "Ethernet0"
|
110
|
+
},
|
111
|
+
"operatingsystem": "windows",
|
112
|
+
"operatingsystemmajrelease": "2016",
|
113
|
+
"operatingsystemrelease": "2016",
|
114
|
+
"os": {
|
115
|
+
"architecture": "x64",
|
116
|
+
"family": "windows",
|
117
|
+
"hardware": "x86_64",
|
118
|
+
"name": "windows",
|
119
|
+
"release": {
|
120
|
+
"full": "2016",
|
121
|
+
"major": "2016"
|
122
|
+
},
|
123
|
+
"windows": {
|
124
|
+
"system32": "C:\\Windows\\system32"
|
125
|
+
}
|
126
|
+
},
|
127
|
+
"osfamily": "windows",
|
128
|
+
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\cygwin64\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Packer\\SysInternals;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PowerShell\\6;C:\\Users\\cyg_server\\AppData\\Local\\Microsoft\\WindowsApps",
|
129
|
+
"physicalprocessorcount": 2,
|
130
|
+
"processor0": "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
|
131
|
+
"processor1": "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
|
132
|
+
"processorcount": 2,
|
133
|
+
"processors": {
|
134
|
+
"count": 2,
|
135
|
+
"isa": "x64",
|
136
|
+
"models": [
|
137
|
+
"Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
|
138
|
+
"Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz"
|
139
|
+
],
|
140
|
+
"physicalcount": 2
|
141
|
+
},
|
142
|
+
"productname": "VMware7,1",
|
143
|
+
"puppetversion": "5.3.7",
|
144
|
+
"ruby": {
|
145
|
+
"platform": "x64-mingw32",
|
146
|
+
"sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.4.0",
|
147
|
+
"version": "2.4.4"
|
148
|
+
},
|
149
|
+
"rubyplatform": "x64-mingw32",
|
150
|
+
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.4.0",
|
151
|
+
"rubyversion": "2.4.4",
|
152
|
+
"serialnumber": "VMware-42 1a 65 2a a1 3e 6b 5f-55 3e 02 33 74 0e 05 b7",
|
153
|
+
"system32": "C:\\Windows\\system32",
|
154
|
+
"system_uptime": {
|
155
|
+
"days": 0,
|
156
|
+
"hours": 1,
|
157
|
+
"seconds": 4764,
|
158
|
+
"uptime": "1:19 hours"
|
159
|
+
},
|
160
|
+
"timezone": "Coordinated Universal Time",
|
161
|
+
"uptime": "1:19 hours",
|
162
|
+
"uptime_days": 0,
|
163
|
+
"uptime_hours": 1,
|
164
|
+
"uptime_seconds": 4764,
|
165
|
+
"virtual": "vmware"
|
166
|
+
}
|
data/facts/Vagrantfile
CHANGED
@@ -7,6 +7,9 @@ VAGRANTFILE_API_VERSION = "2"
|
|
7
7
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
8
8
|
|
9
9
|
config.vm.hostname = "foo.example.com"
|
10
|
+
config.vm.provider "virtualbox" do |v|
|
11
|
+
v.gui = false
|
12
|
+
end
|
10
13
|
|
11
14
|
config.vm.define "debian-6-x86_64" do |host|
|
12
15
|
host.vm.box = "puppetlabs/debian-6.0.10-64-nocm"
|
@@ -34,6 +37,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
34
37
|
host.vm.provision "shell", path: "get_facts.sh"
|
35
38
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
36
39
|
end
|
40
|
+
config.vm.define "debian-10-x86_64" do |host|
|
41
|
+
host.vm.box = "debian/contrib-buster64"
|
42
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
43
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
44
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
45
|
+
end
|
37
46
|
config.vm.define "ubuntu-10.04-x86_64" do |host|
|
38
47
|
host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
|
39
48
|
host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
|
@@ -76,13 +85,20 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
76
85
|
host.vm.provision "shell", path: "get_facts.sh"
|
77
86
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
78
87
|
end
|
79
|
-
config.vm.define "
|
88
|
+
config.vm.define "linuxmint-18-x86_64" do |host|
|
80
89
|
host.vm.box = "artem-sidorenko/mint-18.1-cinnamon"
|
81
90
|
host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev libc6-dev"
|
82
91
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
83
92
|
host.vm.provision "shell", path: "get_facts.sh"
|
84
93
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
85
94
|
end
|
95
|
+
config.vm.define "linuxmint-19-x86_64" do |host|
|
96
|
+
host.vm.box = "ltsp/linuxmint-19.1-cinnamon-64bit"
|
97
|
+
host.vm.provision "shell", inline: "export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ruby ruby-dev libc6-dev"
|
98
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
99
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
100
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
101
|
+
end
|
86
102
|
config.vm.define "ubuntu-16.04-x86_64" do |host|
|
87
103
|
host.vm.box = "ubuntu/xenial64"
|
88
104
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
@@ -113,6 +129,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
113
129
|
host.vm.provision "shell", path: "get_facts.sh"
|
114
130
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
115
131
|
end
|
132
|
+
config.vm.define "redhat-8-x86_64" do |host|
|
133
|
+
host.vm.box = "generic/rhel8"
|
134
|
+
host.vm.synced_folder ".", "/vagrant"
|
135
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
136
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
137
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
138
|
+
end
|
116
139
|
config.vm.define "fedora-19-x86_64" do |host|
|
117
140
|
host.vm.box = "chef/fedora-19"
|
118
141
|
host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
|
@@ -163,6 +186,22 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
163
186
|
host.vm.provision "shell", path: "get_facts.sh"
|
164
187
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
165
188
|
end
|
189
|
+
config.vm.define "fedora-29-x86_64" do |host|
|
190
|
+
host.vm.box = "bento/fedora-29"
|
191
|
+
host.vm.synced_folder ".", "/vagrant"
|
192
|
+
host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
|
193
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
194
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
195
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
196
|
+
end
|
197
|
+
config.vm.define "fedora-30-x86_64" do |host|
|
198
|
+
host.vm.box = "bento/fedora-30"
|
199
|
+
host.vm.synced_folder ".", "/vagrant"
|
200
|
+
host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
|
201
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
202
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
203
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
204
|
+
end
|
166
205
|
config.vm.define "archlinux-x86_64" do |host|
|
167
206
|
host.vm.box = "archlinux/archlinux"
|
168
207
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
@@ -171,14 +210,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
171
210
|
end
|
172
211
|
config.vm.define "sles-11sp1-x86_64" do |host|
|
173
212
|
host.vm.box = "suse/sles11sp3"
|
174
|
-
host.vm.
|
213
|
+
host.vm.network "private_network", ip: "192.168.123.2"
|
214
|
+
host.vm.synced_folder ".", "/vagrant", type: "nfs"
|
175
215
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
176
216
|
host.vm.provision "shell", path: "get_facts.sh"
|
177
217
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
178
218
|
end
|
179
219
|
config.vm.define "sles-12sp1-x86_64" do |host|
|
180
|
-
host.vm.box = "
|
181
|
-
host.vm.provision "shell", inline: "gem update --system"
|
220
|
+
host.vm.box = "idar/sles12sp3"
|
182
221
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
183
222
|
host.vm.provision "shell", path: "get_facts.sh"
|
184
223
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
@@ -221,34 +260,28 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
221
260
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
222
261
|
host.vm.provision "shell", path: "get_facts.sh"
|
223
262
|
end
|
224
|
-
config.vm.define "
|
225
|
-
host.vm.box = "
|
226
|
-
host.ssh.shell = '/bin/sh'
|
227
|
-
host.vm.network :private_network, ip: '10.0.0.2'
|
228
|
-
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
229
|
-
host.vm.provision "shell", inline: "pkg install -y devel/ruby-gems"
|
263
|
+
config.vm.define "opensuse-15.0-x86_64" do |host|
|
264
|
+
host.vm.box = "opensuse/openSUSE-15.0-x86_64"
|
230
265
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
231
266
|
host.vm.provision "shell", path: "get_facts.sh"
|
232
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
233
267
|
end
|
234
|
-
config.vm.define "freebsd-
|
235
|
-
host.vm.box = "bento/freebsd-
|
236
|
-
host.vm.
|
237
|
-
host.vm.
|
238
|
-
host.vm.provision "shell", inline: "
|
268
|
+
config.vm.define "freebsd-12-x86_64" do |host|
|
269
|
+
host.vm.box = "bento/freebsd-12.0"
|
270
|
+
host.vm.synced_folder ".", "/vagrant"
|
271
|
+
host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
|
272
|
+
host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
|
239
273
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
240
274
|
host.vm.provision "shell", path: "get_facts.sh"
|
241
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -
|
275
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -p now"
|
242
276
|
end
|
243
|
-
config.vm.define "freebsd-
|
244
|
-
host.vm.box = "
|
245
|
-
host.vm.
|
246
|
-
host.vm.
|
247
|
-
host.
|
248
|
-
host.vm.provision "shell", inline: "pkg_add -F -r ruby19-gems"
|
277
|
+
config.vm.define "freebsd-11-x86_64" do |host|
|
278
|
+
host.vm.box = "bento/freebsd-11.2"
|
279
|
+
host.vm.synced_folder ".", "/vagrant"
|
280
|
+
host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
|
281
|
+
host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
|
249
282
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
250
283
|
host.vm.provision "shell", path: "get_facts.sh"
|
251
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -
|
284
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -p now"
|
252
285
|
end
|
253
286
|
config.vm.define "gentoo-x86_64" do |host|
|
254
287
|
host.vm.box = "generic/gentoo"
|
@@ -266,8 +299,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
266
299
|
host.vm.provision "shell", path: "get_facts.sh"
|
267
300
|
host.vm.provision "shell", inline: "/sbin/shutdown -i S -g0 -y 'Bye' &"
|
268
301
|
end
|
269
|
-
config.vm.define "openbsd-
|
270
|
-
host.vm.box = "bodgit/openbsd-
|
302
|
+
config.vm.define "openbsd-6.2-x86_64" do |host|
|
303
|
+
host.vm.box = "bodgit/openbsd-6.2-amd64"
|
271
304
|
host.vm.network :private_network, ip: '10.0.0.2'
|
272
305
|
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
273
306
|
host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
|
@@ -275,23 +308,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
275
308
|
|
276
309
|
pkg_info -qe 'bash->=0' || pkg_add -I bash
|
277
310
|
ln -sf /usr/local/bin/bash /bin
|
278
|
-
|
279
|
-
pkg_info -qe 'facter->=2.4.6' || pkg_add -I facter-2.4.6
|
280
|
-
ln -sf /usr/local/bin/ruby22 /usr/local/bin/ruby
|
281
|
-
ln -sf /usr/local/bin/erb22 /usr/local/bin/erb
|
282
|
-
ln -sf /usr/local/bin/irb22 /usr/local/bin/irb
|
283
|
-
ln -sf /usr/local/bin/rdoc22 /usr/local/bin/rdoc
|
284
|
-
ln -sf /usr/local/bin/ri22 /usr/local/bin/ri
|
285
|
-
ln -sf /usr/local/bin/rake22 /usr/local/bin/rake
|
286
|
-
ln -sf /usr/local/bin/gem22 /usr/local/bin/gem
|
287
|
-
ln -sf /usr/local/bin/testrb22 /usr/local/bin/testrb
|
288
311
|
SCRIPT
|
289
312
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
290
313
|
host.vm.provision "shell", path: "get_facts.sh"
|
291
314
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
292
315
|
end
|
293
|
-
config.vm.define "openbsd-6.
|
294
|
-
host.vm.box = "bodgit/openbsd-6.
|
316
|
+
config.vm.define "openbsd-6.3-x86_64" do |host|
|
317
|
+
host.vm.box = "bodgit/openbsd-6.3-amd64"
|
295
318
|
host.vm.network :private_network, ip: '10.0.0.2'
|
296
319
|
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
297
320
|
host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
|
@@ -299,15 +322,24 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
299
322
|
|
300
323
|
pkg_info -qe 'bash->=0' || pkg_add -I bash
|
301
324
|
ln -sf /usr/local/bin/bash /bin
|
325
|
+
SCRIPT
|
326
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
327
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
328
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
329
|
+
end
|
330
|
+
config.vm.define "openbsd-6.4-x86_64" do |host|
|
331
|
+
host.vm.box = "generic/openbsd6"
|
332
|
+
host.vm.box_version = "~> 1.9.18"
|
333
|
+
host.vm.network :private_network, ip: '10.0.0.2'
|
334
|
+
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
335
|
+
host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
|
336
|
+
. ~/.profile
|
302
337
|
|
303
|
-
pkg_info -qe '
|
304
|
-
ln -sf /usr/local/bin/
|
305
|
-
|
306
|
-
ln -sf /usr/local/bin/
|
307
|
-
ln -sf /usr/local/bin/
|
308
|
-
ln -sf /usr/local/bin/ri22 /usr/local/bin/ri
|
309
|
-
ln -sf /usr/local/bin/rake22 /usr/local/bin/rake
|
310
|
-
ln -sf /usr/local/bin/gem22 /usr/local/bin/gem
|
338
|
+
pkg_info -qe 'bash->=0' || pkg_add bash
|
339
|
+
ln -sf /usr/local/bin/bash /bin
|
340
|
+
pkg_add facter puppet-5.5.6
|
341
|
+
ln -sf /usr/local/bin/gem24 /usr/bin/gem
|
342
|
+
ln -sf /usr/local/bin/ruby24 /usr/bin/ruby
|
311
343
|
SCRIPT
|
312
344
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
313
345
|
host.vm.provision "shell", path: "get_facts.sh"
|
data/facts/get_facts.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/bin/
|
1
|
+
#!/bin/bash
|
2
2
|
|
3
3
|
export PATH=/opt/puppetlabs/bin:$PATH
|
4
4
|
|
@@ -6,6 +6,14 @@ if test -f /usr/bin/zypper; then
|
|
6
6
|
zypper --non-interactive --gpg-auto-import-keys refresh
|
7
7
|
zypper --non-interactive install ruby-devel
|
8
8
|
osfamily='Suse'
|
9
|
+
# This is Leap which is based on SLES 12
|
10
|
+
if [[ `cat /etc/os-release |grep -e '^VERSION="42' -c` == 1 ]]; then
|
11
|
+
operatingsystemmajrelease=12
|
12
|
+
elif test -r /etc/os-release; then
|
13
|
+
operatingsystemmajrelease=$(. /etc/os-release ; echo ${VERSION} | cut -d. -f1 | cut -d - -f1)
|
14
|
+
else
|
15
|
+
operatingsystemmajrelease=$(cat /etc/SuSE-release | grep ^VERSION | cut -d' ' -f3)
|
16
|
+
fi
|
9
17
|
elif test -f /usr/bin/apt-get; then
|
10
18
|
apt-get update
|
11
19
|
apt-get install -y lsb-release
|
@@ -13,7 +21,7 @@ elif test -f /usr/bin/apt-get; then
|
|
13
21
|
operatingsystem=$(lsb_release -si)
|
14
22
|
operatingsystemmajrelease=$(lsb_release -sr)
|
15
23
|
osfamily='Debian'
|
16
|
-
elif test -f /usr/bin/dnf; then
|
24
|
+
elif test -f /usr/bin/dnf -a ! -f /sbin/rhn_register; then
|
17
25
|
operatingsystemmajrelease=$(cat /etc/redhat-release | cut -d' ' -f3 )
|
18
26
|
osfamily='Fedora'
|
19
27
|
elif test -f /usr/bin/yum; then
|
@@ -36,103 +44,213 @@ case "${osfamily}" in
|
|
36
44
|
if [[ "${?}" == 0 ]]; then
|
37
45
|
for puppet_agent_version in 1.5.3-1 1.6.0-1 1.6.1-1 1.6.2-1 1.7.0-1 1.10.12-1; do
|
38
46
|
dnf install -y "puppet-agent-${puppet_agent_version}.fedoraf${operatingsystemmajrelease}"
|
39
|
-
|
40
|
-
|
41
|
-
|
47
|
+
if [[ "${?}" == 0 ]]; then
|
48
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
49
|
+
mkdir -p $(dirname ${output_file})
|
50
|
+
facter --show-legacy -p -j | tee ${output_file}
|
51
|
+
fi
|
42
52
|
done
|
43
53
|
yum remove -y puppetlabs-release-pc1
|
44
54
|
fi
|
45
55
|
# Puppet 5
|
46
56
|
yum install -y "https://yum.puppetlabs.com/puppet5/puppet5-release-fedora-${operatingsystemmajrelease}.noarch.rpm"
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
57
|
+
if [[ "${?}" == 0 ]]; then
|
58
|
+
for puppet_agent_version in 5.3.1-1 5.3.2-1 5.3.3-1 5.3.4-1 5.3.5-1 5.4.0-1 5.5.16-1; do
|
59
|
+
# Package naming changed with Fedora 28
|
60
|
+
[[ ${operatingsystemmajrelease} -ge 28 ]] && osprefix='fc' || osprefix='fedoraf'
|
61
|
+
echo dnf install -y "puppet-agent-${puppet_agent_version}.${osprefix}${operatingsystemmajrelease}"
|
62
|
+
dnf install -y "puppet-agent-${puppet_agent_version}.${osprefix}${operatingsystemmajrelease}"
|
63
|
+
if [[ "${?}" == 0 ]]; then
|
64
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
65
|
+
echo "Outputfile: $output_file"
|
66
|
+
mkdir -p $(dirname ${output_file})
|
67
|
+
facter --show-legacy -p -j | tee ${output_file}
|
68
|
+
fi
|
69
|
+
done
|
70
|
+
yum remove -y puppet5-release
|
71
|
+
fi
|
72
|
+
yum install -y "https://yum.puppetlabs.com/puppet6-release-fedora-${operatingsystemmajrelease}.noarch.rpm"
|
73
|
+
if [[ "${?}" == 0 ]]; then
|
74
|
+
for puppet_agent_version in 6.2.0-1 6.4.2-1 6.6.0-1; do
|
75
|
+
dnf install -y "puppet-agent-${puppet_agent_version}.fc${operatingsystemmajrelease}"
|
76
|
+
if [[ "${?}" == 0 ]]; then
|
77
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
78
|
+
mkdir -p $(dirname ${output_file})
|
79
|
+
facter --show-legacy -p -j | tee ${output_file}
|
80
|
+
fi
|
81
|
+
done
|
82
|
+
yum remove -y puppet6-release
|
83
|
+
fi
|
58
84
|
;;
|
59
85
|
'RedHat')
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
yum
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
86
|
+
if [[ ${operatingsystemmajrelease} -eq 5 ]]; then
|
87
|
+
# CentOS 5 can no longer wget the release file with HTTPS due to mis-matched SSL support:
|
88
|
+
http_method='http'
|
89
|
+
# The default CentOS repositories no longer work and prevent yum from working:
|
90
|
+
rm -f /etc/yum.repos.d/CentOS*
|
91
|
+
else
|
92
|
+
http_method='https'
|
93
|
+
fi
|
94
|
+
wget "${http_method}://yum.puppetlabs.com/puppetlabs-release-pc1-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppetlabs-release-pc1.rpm
|
95
|
+
if test -f /tmp/puppetlabs-release-pc1.rpm; then
|
96
|
+
rpm -ivh /tmp/puppetlabs-release-pc1.rpm
|
97
|
+
for puppet_agent_version in 1.2.2 1.4.2 1.5.3 1.10.4; do
|
98
|
+
if yum install -y puppet-agent-${puppet_agent_version}; then
|
99
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
100
|
+
mkdir -p $(dirname ${output_file})
|
101
|
+
facter --show-legacy -p -j | tee ${output_file}
|
102
|
+
fi
|
103
|
+
done
|
104
|
+
yum remove -y puppetlabs-release-pc1
|
105
|
+
fi
|
68
106
|
wget "http://yum.puppetlabs.com/puppet5/puppet5-release-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppet5-release.rpm
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
107
|
+
if test -f /tmp/puppet5-release.rpm; then
|
108
|
+
rpm -ivh /tmp/puppet5-release.rpm
|
109
|
+
for puppet_agent_version in 5.0.1 5.1.0 5.3.7 5.4.0 5.5.16; do
|
110
|
+
if yum install -y puppet-agent-${puppet_agent_version}; then
|
111
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
112
|
+
mkdir -p $(dirname ${output_file})
|
113
|
+
facter --show-legacy -p -j | tee ${output_file}
|
114
|
+
fi
|
115
|
+
done
|
116
|
+
yum remove -y puppet5-release
|
117
|
+
fi
|
118
|
+
wget "http://yum.puppetlabs.com/puppet6-release-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppet6-release.rpm
|
119
|
+
if test -f /tmp/puppet6-release.rpm; then
|
120
|
+
rpm -ivh /tmp/puppet6-release.rpm
|
121
|
+
for puppet_agent_version in 6.2.0 6.4.2 6.6.0; do
|
122
|
+
if yum install -y puppet-agent-${puppet_agent_version}; then
|
123
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
124
|
+
mkdir -p $(dirname ${output_file})
|
125
|
+
facter --show-legacy -p -j | tee ${output_file}
|
126
|
+
fi
|
127
|
+
done
|
128
|
+
yum remove -y puppet6-release
|
129
|
+
fi
|
76
130
|
;;
|
77
131
|
|
78
132
|
'Debian')
|
79
|
-
if [[ "xenial" =~ ${lsbdistcodename} ]]; then
|
80
|
-
lsbdistcodename='wily'
|
81
|
-
fi
|
82
133
|
if [[ "serena" =~ ${lsbdistcodename} ]]; then
|
83
134
|
lsbdistcodename='xenial'
|
84
135
|
fi
|
136
|
+
if [[ "tessa" =~ ${lsbdistcodename} ]]; then
|
137
|
+
lsbdistcodename='bionic'
|
138
|
+
fi
|
85
139
|
apt-get install -y wget
|
86
140
|
wget "https://apt.puppetlabs.com/puppetlabs-release-pc1-${lsbdistcodename}.deb" -O /tmp/puppetlabs-release-pc1.deb
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
141
|
+
if test -f /tmp/puppetlabs-release.deb; then
|
142
|
+
dpkg --install /tmp/puppetlabs-release-pc1.deb
|
143
|
+
apt-get update
|
144
|
+
for puppet_agent_version in 1.2.2 1.4.2 1.5.3; do
|
145
|
+
if apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*; then
|
146
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
147
|
+
mkdir -p $(dirname ${output_file})
|
148
|
+
facter --show-legacy -p -j | tee ${output_file}
|
149
|
+
fi
|
150
|
+
done
|
151
|
+
apt-get -y remove --purge puppetlabs-release-pc1
|
152
|
+
fi
|
95
153
|
wget "https://apt.puppetlabs.com/puppet5-release-${lsbdistcodename}.deb" -O /tmp/puppet5-release.deb
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
154
|
+
if test -f /tmp/puppet5-release.deb; then
|
155
|
+
dpkg --install /tmp/puppet5-release.deb
|
156
|
+
apt-get update
|
157
|
+
for puppet_agent_version in 5.0.1 5.1.0 5.3.7 5.4.0 5.5.3; do
|
158
|
+
if apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*; then
|
159
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
160
|
+
mkdir -p $(dirname ${output_file})
|
161
|
+
facter --show-legacy -p -j | tee ${output_file}
|
162
|
+
fi
|
163
|
+
done
|
164
|
+
apt-get -y remove --purge puppet5-release
|
165
|
+
fi
|
166
|
+
wget "https://apt.puppetlabs.com/puppet6-release-${lsbdistcodename}.deb" -O /tmp/puppet6-release.deb
|
167
|
+
if test -f /tmp/puppet6-release.deb; then
|
168
|
+
dpkg --install /tmp/puppet6-release.deb
|
169
|
+
apt-get update
|
170
|
+
for puppet_agent_version in 6.2.0 6.4.2 6.6.0; do
|
171
|
+
if apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*; then
|
172
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
173
|
+
mkdir -p $(dirname ${output_file})
|
174
|
+
facter --show-legacy -p -j | tee ${output_file}
|
175
|
+
fi
|
176
|
+
done
|
177
|
+
apt-get -y remove --purge puppet6-release
|
178
|
+
fi
|
179
|
+
apt-get install -y make gcc libgmp-dev
|
180
|
+
|
181
|
+
# There are no puppet-agent packages for Buster yet, so generate a Facter 3.x
|
182
|
+
# fact set from the official Debian package.
|
183
|
+
if [[ "buster" = "${lsbdistcodename}" ]]; then
|
184
|
+
apt-get install -y ruby rubygems ruby-dev puppet facter
|
100
185
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
101
186
|
mkdir -p $(dirname ${output_file})
|
102
187
|
facter --show-legacy -p -j | tee ${output_file}
|
103
|
-
|
104
|
-
apt-get install -y make gcc libgmp-dev
|
188
|
+
fi
|
105
189
|
;;
|
106
190
|
'FreeBSD')
|
107
191
|
pkg update
|
108
|
-
pkg install -y sysutils/puppet5 sysutils/facter
|
192
|
+
pkg install -y sysutils/puppet5 sysutils/facter sysutils/rubygem-bundler
|
193
|
+
# something about the pkg update process causes the shared folder mount to
|
194
|
+
# get into an unusable state, so we remount it here before generating any
|
195
|
+
# fact sets.
|
196
|
+
umount /vagrant
|
197
|
+
mount -t vboxvfs Vagrant /vagrant
|
109
198
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
110
199
|
mkdir -p $(dirname ${output_file})
|
111
200
|
[ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
|
112
201
|
;;
|
202
|
+
'OpenBSD')
|
203
|
+
hardwaremodel=$(facter hardwaremodel)
|
204
|
+
[ "${hardwaremodel}" = 'amd64' ] && hardwaremodel=x86_64
|
205
|
+
# Vagrant box should already have puppet & facter installed
|
206
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1-2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemrelease)-${hardwaremodel}.facts"
|
207
|
+
mkdir -p $(dirname ${output_file})
|
208
|
+
[ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
|
209
|
+
;;
|
113
210
|
'Suse')
|
114
|
-
if [[
|
115
|
-
#
|
116
|
-
|
211
|
+
if [[ ${operatingsystemmajrelease} -lt 12 ]]; then
|
212
|
+
# SLES 11 can no longer wget the release file with HTTPS due to mis-matched SSL support:
|
213
|
+
http_method='http'
|
214
|
+
else
|
215
|
+
http_method='https'
|
216
|
+
fi
|
217
|
+
if rpm -Uvh ${http_method}://yum.puppet.com/puppetlabs-release-pc1-sles-${operatingsystemmajrelease}.noarch.rpm; then
|
117
218
|
zypper --gpg-auto-import-keys --non-interactive refresh
|
118
219
|
for puppet_agent_version in 1.6.2 1.7.2 1.8.3 1.9.3 1.10.8; do
|
119
|
-
zypper --non-interactive install puppet-agent-${puppet_agent_version}
|
120
|
-
|
121
|
-
|
122
|
-
|
220
|
+
if zypper --non-interactive install puppet-agent-${puppet_agent_version}; then
|
221
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
222
|
+
mkdir -p $(dirname ${output_file})
|
223
|
+
facter --show-legacy -p -j | tee ${output_file}
|
224
|
+
fi
|
123
225
|
done
|
124
226
|
zypper --non-interactive remove puppetlabs-release-pc1
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
227
|
+
fi
|
228
|
+
if rpm -Uvh ${http_method}://yum.puppet.com/puppet5/puppet5-release-sles-${operatingsystemmajrelease}.noarch.rpm; then
|
229
|
+
for puppet_agent_version in 5.0.1 5.1.0 5.2.0 5.3.2 5.4.0 5.5.16; do
|
230
|
+
if zypper --gpg-auto-import-keys --non-interactive install puppet-agent-${puppet_agent_version}; then
|
231
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
232
|
+
mkdir -p $(dirname ${output_file})
|
233
|
+
facter --show-legacy -p -j | tee ${output_file}
|
234
|
+
fi
|
235
|
+
done
|
236
|
+
zypper --non-interactive remove puppet5-release
|
237
|
+
fi
|
238
|
+
if rpm -Uvh ${http_method}://yum.puppet.com/puppet6-release-sles-${operatingsystemmajrelease}.noarch.rpm; then
|
239
|
+
for puppet_agent_version in 6.2.0 6.4.2 6.6.0; do
|
240
|
+
if zypper --gpg-auto-import-keys --non-interactive install puppet-agent-${puppet_agent_version}; then
|
241
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
242
|
+
mkdir -p $(dirname ${output_file})
|
243
|
+
facter --show-legacy -p -j | tee ${output_file}
|
244
|
+
fi
|
131
245
|
done
|
246
|
+
zypper --non-interactive remove puppet6-release
|
132
247
|
fi
|
133
248
|
;;
|
134
249
|
'Archlinux')
|
135
|
-
pacman -Syu --noconfirm ruby puppet ruby-bundler
|
250
|
+
pacman -Syu --noconfirm ruby puppet ruby-bundler base-devel dnsutils facter
|
251
|
+
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter hardwaremodel).facts"
|
252
|
+
mkdir -p $(dirname ${output_file})
|
253
|
+
facter --show-legacy -p -j | tee ${output_file}
|
136
254
|
;;
|
137
255
|
'Gentoo')
|
138
256
|
emerge -vq1 dev-lang/ruby dev-ruby/bundler app-admin/puppet
|
@@ -155,6 +273,9 @@ for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0; do
|
|
155
273
|
openbsd)
|
156
274
|
output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
|
157
275
|
;;
|
276
|
+
archlinux)
|
277
|
+
output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${hardwaremodel}.facts"
|
278
|
+
;;
|
158
279
|
*)
|
159
280
|
output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
|
160
281
|
;;
|