rspec-puppet-facts 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,137 @@
1
+ {
2
+ "gem_version": "~> 2.3.0",
3
+ "architecture": "amd64",
4
+ "kernel": "OpenBSD",
5
+ "domain": "example.com",
6
+ "virtual": "vmware",
7
+ "is_virtual": true,
8
+ "hardwaremodel": "amd64",
9
+ "operatingsystem": "OpenBSD",
10
+ "os": {
11
+ "name": "OpenBSD",
12
+ "family": "OpenBSD",
13
+ "release": {
14
+ "major": "5",
15
+ "minor": "7",
16
+ "full": "5.7"
17
+ }
18
+ },
19
+ "kernelrelease": "5.7",
20
+ "facterversion": "2.3.0",
21
+ "fqdn": "foo.example.com",
22
+ "gid": "wheel",
23
+ "hardwareisa": "amd64",
24
+ "hostname": "foo",
25
+ "id": "root",
26
+ "interfaces": "lo0,em0,enc0,pflog0",
27
+ "ipaddress_lo0": "127.0.0.1",
28
+ "netmask_lo0": "255.0.0.0",
29
+ "mtu_lo0": 32768,
30
+ "ipaddress_em0": "192.168.253.189",
31
+ "macaddress_em0": "00:0c:29:c0:a6:df",
32
+ "netmask_em0": "255.255.255.0",
33
+ "mtu_em0": 1500,
34
+ "mtu_enc0": 0,
35
+ "mtu_pflog0": 33144,
36
+ "ipaddress": "192.168.253.189",
37
+ "kernelmajversion": "5.7",
38
+ "kernelversion": "5.7",
39
+ "macaddress": "00:0c:29:c0:a6:df",
40
+ "manufacturer": "VMware, Inc.",
41
+ "productname": "VMware Virtual Platform",
42
+ "serialnumber": "VMware-56 4d b0 47 c5 3c 1b 3d-3f d1 18 86 02 c0 a6 df",
43
+ "memorysize": "367.94 MB",
44
+ "memoryfree": "200.02 MB",
45
+ "swapsize": "376.67 MB",
46
+ "swapfree": "376.67 MB",
47
+ "swapsize_mb": "376.67",
48
+ "swapfree_mb": "376.67",
49
+ "memorysize_mb": "367.94",
50
+ "memoryfree_mb": "200.02",
51
+ "swapencrypted": true,
52
+ "netmask": "255.255.255.0",
53
+ "network_lo0": "127.0.0.0",
54
+ "network_em0": "192.168.253.0",
55
+ "operatingsystemmajrelease": "5",
56
+ "operatingsystemrelease": "5.7",
57
+ "osfamily": "OpenBSD",
58
+ "partitions": {
59
+ "sd0a": {
60
+ "size": "229070",
61
+ "mount": "/",
62
+ "filesystem": "ffs"
63
+ },
64
+ "sd0k": {
65
+ "size": "2227662",
66
+ "mount": "/home",
67
+ "filesystem": "ffs"
68
+ },
69
+ "sd0d": {
70
+ "size": "358606",
71
+ "mount": "/tmp",
72
+ "filesystem": "ffs"
73
+ },
74
+ "sd0f": {
75
+ "size": "1053790",
76
+ "mount": "/usr",
77
+ "filesystem": "ffs"
78
+ },
79
+ "sd0g": {
80
+ "size": "605614",
81
+ "mount": "/usr/X11R6",
82
+ "filesystem": "ffs"
83
+ },
84
+ "sd0h": {
85
+ "size": "2361550",
86
+ "mount": "/usr/local",
87
+ "filesystem": "ffs"
88
+ },
89
+ "sd0j": {
90
+ "size": "1426446",
91
+ "mount": "/usr/obj",
92
+ "filesystem": "ffs"
93
+ },
94
+ "sd0i": {
95
+ "size": "1089630",
96
+ "mount": "/usr/src",
97
+ "filesystem": "ffs"
98
+ },
99
+ "sd0e": {
100
+ "size": "467374",
101
+ "mount": "/var",
102
+ "filesystem": "ffs"
103
+ }
104
+ },
105
+ "path": "/home/vagrant/vendor/bundler/ruby/1.9.1/bin:/usr/gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/var/lib/gems/1.8/bin/:/root/.gem/ruby/2.1.0/bin:/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.7.12/bin:/usr/lib64/ruby/gems/2.0.0/gems/bundler-1.7.12/bin:/usr/ruby/1.9/bin",
106
+ "physicalprocessorcount": 1,
107
+ "processors": {
108
+ "count": 1,
109
+ "physicalcount": 1,
110
+ "speed": "2.3 GHz"
111
+ },
112
+ "processorcount": 1,
113
+ "processor": "Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz",
114
+ "ps": "ps auxwww",
115
+ "rubyplatform": "x86_64-openbsd",
116
+ "rubysitedir": "/usr/local/lib/ruby/site_ruby/1.9.1",
117
+ "rubyversion": "1.9.3",
118
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBAKzaw3xs2LCLI4QymDVhVP8xbtupUOlt/KUvuNSr0exQ/msqNC4qtnulEbir7VNvcWV9kBE4gZAPD6nBxKUdn3l8q4ykRNfuw25QZwlUV/ykJTpANrkSlssrGa9EflKGwnCkQo5gYpaOZYEz3VylDWAu5037gDGIKvPdjS8CNqGrAAAAFQDql1SCExPFO79KjqG8RbSZeg9URQAAAIEAinvytbHDQKolstt0pwd5xMGCkOcNBZiqIyO6wBkuOTH7tTrkPO1f7BatGtfoeZMk0u+t/5GckbJU6y5DCxKSsZ+Ty4f1z5T4iOcn6P3mKefUs/Zubifo5LDinbWemKSzWO251uoVdJ5O/C2Ubg4jT5SioHhqVqr9oWkw52QZO7MAAACAN7HemGR72xPbEUcAgyArQhXbjTgzo8/ngEWaTitHrPsKQB8w1QyNLkPQ01Yp1344O73Thq70zMgpsqPf5K+4SVPa5AnX0zlACbgXVd7/2ZotuhkQP36DuF80Zd1cDSogIwplfUd35WZdI5edwOQt9FZ+6SMmq5xer87xET/Tkc8=",
119
+ "sshfp_dsa": "SSHFP 2 1 53d1c1615079e9b921748052744bc48ed4b87dfc\nSSHFP 2 2 60660c2995ffedb958c9a2f30da692a6d4d62a9c6b097c156f69db9d252e71fa",
120
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC87qSueKP/AmtD1E1j4htCiX1iq/3rm8MjcmN1s5E0aD1xe/+7o6lxUnRl888JWW5E3PjSFJLmt2iv/8I7cY5d1TXp781TZXGGaH4rbXNE9M2CYt3AJqceIp9aAmqTwSoIJZx8CWDhn/d3JaauR9Xg8+Pun24RmihHHv1jbrwcvLjHSfRdcV33NRx5xtj4Y0l8iiC1h5kwLFehsPFDYcoHOzD5IMPu1qrWBSFx9a2v6tF5569z0wOE70WVfYL46Ec29S5aykdiBanTY9esplmYVqafT4QwrvV0aKIiR07bycCM/0jvIsUj8UrPG0MF9vN+ib9yCUsztgGlwx5h6My1",
121
+ "sshfp_rsa": "SSHFP 1 1 e3f20e83db7c64488a935ac156704ce0edac9623\nSSHFP 1 2 71513a74e958f342d384078fdaa87e277fd1fc3b0d48a727cb5ce659d77e1e78",
122
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHqlXL+DcnFdXpYSYFD6cG7QpMm94X4ukXB7l4XEqtnU0xVwcPiIaZdTsVNwXLCw2wq7F1FJMZGO3bgOqIZ4Cz0=",
123
+ "sshfp_ecdsa": "SSHFP 3 1 eb4a25a78528364f843e78d51c1aced9d752d52d\nSSHFP 3 2 6f1bef4301d663dfe1621c8fe640f3e727e2a599903b731226005b502f2605ad",
124
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIAPasZfGhoQSR/RqSPl2i8PLN5pje2Ao61T4X0xTnjtE",
125
+ "sshfp_ed25519": "SSHFP 4 1 ca2b120eb2385139ee335fff5fc6c4f39fb59faa\nSSHFP 4 2 6c6e975857e2fac49cca80ff6882b4713a4d908f363571206b513f77d0d573d1",
126
+ "system_uptime": {
127
+ "seconds": 157,
128
+ "hours": 0,
129
+ "days": 0,
130
+ "uptime": "0:02 hours"
131
+ },
132
+ "timezone": "UTC",
133
+ "uptime": "0:02 hours",
134
+ "uptime_days": 0,
135
+ "uptime_hours": 0,
136
+ "uptime_seconds": 157
137
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "gem_version": "~> 2.4.0",
3
+ "kernel": "OpenBSD",
4
+ "system_uptime": {
5
+ "seconds": 166,
6
+ "hours": 0,
7
+ "days": 0,
8
+ "uptime": "0:02 hours"
9
+ },
10
+ "gid": "wheel",
11
+ "hardwaremodel": "i386",
12
+ "kernelrelease": "5.7",
13
+ "rubyplatform": "i386-openbsd",
14
+ "path": "/home/vagrant/vendor/bundler/ruby/1.9.1/bin:/usr/gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/var/lib/gems/1.8/bin/:/root/.gem/ruby/2.1.0/bin:/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.7.12/bin:/usr/lib64/ruby/gems/2.0.0/gems/bundler-1.7.12/bin:/usr/ruby/1.9/bin",
15
+ "partitions": {
16
+ "sd0a": {
17
+ "size": "229070",
18
+ "mount": "/",
19
+ "filesystem": "ffs"
20
+ },
21
+ "sd0k": {
22
+ "size": "2227662",
23
+ "mount": "/home",
24
+ "filesystem": "ffs"
25
+ },
26
+ "sd0d": {
27
+ "size": "358606",
28
+ "mount": "/tmp",
29
+ "filesystem": "ffs"
30
+ },
31
+ "sd0f": {
32
+ "size": "1053790",
33
+ "mount": "/usr",
34
+ "filesystem": "ffs"
35
+ },
36
+ "sd0g": {
37
+ "size": "605614",
38
+ "mount": "/usr/X11R6",
39
+ "filesystem": "ffs"
40
+ },
41
+ "sd0h": {
42
+ "size": "2361550",
43
+ "mount": "/usr/local",
44
+ "filesystem": "ffs"
45
+ },
46
+ "sd0j": {
47
+ "size": "1426446",
48
+ "mount": "/usr/obj",
49
+ "filesystem": "ffs"
50
+ },
51
+ "sd0i": {
52
+ "size": "1089630",
53
+ "mount": "/usr/src",
54
+ "filesystem": "ffs"
55
+ },
56
+ "sd0e": {
57
+ "size": "467374",
58
+ "mount": "/var",
59
+ "filesystem": "ffs"
60
+ }
61
+ },
62
+ "macaddress": "00:0c:29:c0:a6:df",
63
+ "rubyversion": "1.9.3",
64
+ "hostname": "foo",
65
+ "operatingsystem": "OpenBSD",
66
+ "timezone": "UTC",
67
+ "facterversion": "2.4.4",
68
+ "processors": {
69
+ "count": 1,
70
+ "physicalcount": 1,
71
+ "speed": "2.3 GHz"
72
+ },
73
+ "uptime_seconds": 166,
74
+ "uptime": "0:02 hours",
75
+ "ps": "ps auxwww",
76
+ "operatingsystemmajrelease": "5",
77
+ "kernelversion": "5.7",
78
+ "virtual": "vmware",
79
+ "is_virtual": true,
80
+ "fqdn": "foo.example.com",
81
+ "netmask": "255.255.255.0",
82
+ "interfaces": "lo0,em0,enc0,pflog0",
83
+ "ipaddress_lo0": "127.0.0.1",
84
+ "netmask_lo0": "255.0.0.0",
85
+ "mtu_lo0": 32768,
86
+ "ipaddress_em0": "192.168.253.189",
87
+ "macaddress_em0": "00:0c:29:c0:a6:df",
88
+ "netmask_em0": "255.255.255.0",
89
+ "mtu_em0": 1500,
90
+ "mtu_enc0": 0,
91
+ "mtu_pflog0": 33144,
92
+ "id": "root",
93
+ "os": {
94
+ "name": "OpenBSD",
95
+ "family": "OpenBSD",
96
+ "release": {
97
+ "major": "5",
98
+ "minor": "7",
99
+ "full": "5.7"
100
+ }
101
+ },
102
+ "architecture": "i386",
103
+ "operatingsystemrelease": "5.7",
104
+ "osfamily": "OpenBSD",
105
+ "rubysitedir": "/usr/local/lib/ruby/site_ruby/1.9.1",
106
+ "network_lo0": "127.0.0.0",
107
+ "network_em0": "192.168.253.0",
108
+ "uptime_days": 0,
109
+ "ipaddress": "192.168.253.189",
110
+ "memorysize": "367.94 MB",
111
+ "memoryfree": "199.95 MB",
112
+ "swapsize": "376.67 MB",
113
+ "swapfree": "376.67 MB",
114
+ "swapsize_mb": "376.67",
115
+ "swapfree_mb": "376.67",
116
+ "memorysize_mb": "367.94",
117
+ "memoryfree_mb": "199.95",
118
+ "swapencrypted": true,
119
+ "hardwareisa": "i386",
120
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBAKzaw3xs2LCLI4QymDVhVP8xbtupUOlt/KUvuNSr0exQ/msqNC4qtnulEbir7VNvcWV9kBE4gZAPD6nBxKUdn3l8q4ykRNfuw25QZwlUV/ykJTpANrkSlssrGa9EflKGwnCkQo5gYpaOZYEz3VylDWAu5037gDGIKvPdjS8CNqGrAAAAFQDql1SCExPFO79KjqG8RbSZeg9URQAAAIEAinvytbHDQKolstt0pwd5xMGCkOcNBZiqIyO6wBkuOTH7tTrkPO1f7BatGtfoeZMk0u+t/5GckbJU6y5DCxKSsZ+Ty4f1z5T4iOcn6P3mKefUs/Zubifo5LDinbWemKSzWO251uoVdJ5O/C2Ubg4jT5SioHhqVqr9oWkw52QZO7MAAACAN7HemGR72xPbEUcAgyArQhXbjTgzo8/ngEWaTitHrPsKQB8w1QyNLkPQ01Yp1344O73Thq70zMgpsqPf5K+4SVPa5AnX0zlACbgXVd7/2ZotuhkQP36DuF80Zd1cDSogIwplfUd35WZdI5edwOQt9FZ+6SMmq5xer87xET/Tkc8=",
121
+ "sshfp_dsa": "SSHFP 2 1 53d1c1615079e9b921748052744bc48ed4b87dfc\nSSHFP 2 2 60660c2995ffedb958c9a2f30da692a6d4d62a9c6b097c156f69db9d252e71fa",
122
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC87qSueKP/AmtD1E1j4htCiX1iq/3rm8MjcmN1s5E0aD1xe/+7o6lxUnRl888JWW5E3PjSFJLmt2iv/8I7cY5d1TXp781TZXGGaH4rbXNE9M2CYt3AJqceIp9aAmqTwSoIJZx8CWDhn/d3JaauR9Xg8+Pun24RmihHHv1jbrwcvLjHSfRdcV33NRx5xtj4Y0l8iiC1h5kwLFehsPFDYcoHOzD5IMPu1qrWBSFx9a2v6tF5569z0wOE70WVfYL46Ec29S5aykdiBanTY9esplmYVqafT4QwrvV0aKIiR07bycCM/0jvIsUj8UrPG0MF9vN+ib9yCUsztgGlwx5h6My1",
123
+ "sshfp_rsa": "SSHFP 1 1 e3f20e83db7c64488a935ac156704ce0edac9623\nSSHFP 1 2 71513a74e958f342d384078fdaa87e277fd1fc3b0d48a727cb5ce659d77e1e78",
124
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHqlXL+DcnFdXpYSYFD6cG7QpMm94X4ukXB7l4XEqtnU0xVwcPiIaZdTsVNwXLCw2wq7F1FJMZGO3bgOqIZ4Cz0=",
125
+ "sshfp_ecdsa": "SSHFP 3 1 eb4a25a78528364f843e78d51c1aced9d752d52d\nSSHFP 3 2 6f1bef4301d663dfe1621c8fe640f3e727e2a599903b731226005b502f2605ad",
126
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIAPasZfGhoQSR/RqSPl2i8PLN5pje2Ao61T4X0xTnjtE",
127
+ "sshfp_ed25519": "SSHFP 4 1 ca2b120eb2385139ee335fff5fc6c4f39fb59faa\nSSHFP 4 2 6c6e975857e2fac49cca80ff6882b4713a4d908f363571206b513f77d0d573d1",
128
+ "uptime_hours": 0,
129
+ "physicalprocessorcount": 1,
130
+ "manufacturer": "VMware, Inc.",
131
+ "productname": "VMware Virtual Platform",
132
+ "serialnumber": "VMware-56 4d b0 47 c5 3c 1b 3d-3f d1 18 86 02 c0 a6 df",
133
+ "processorcount": 1,
134
+ "processor": "Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz",
135
+ "kernelmajversion": "5.7",
136
+ "domain": "example.com"
137
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "gem_version": "~> 2.4.0",
3
+ "kernel": "OpenBSD",
4
+ "system_uptime": {
5
+ "seconds": 166,
6
+ "hours": 0,
7
+ "days": 0,
8
+ "uptime": "0:02 hours"
9
+ },
10
+ "gid": "wheel",
11
+ "hardwaremodel": "amd64",
12
+ "kernelrelease": "5.7",
13
+ "rubyplatform": "x86_64-openbsd",
14
+ "path": "/home/vagrant/vendor/bundler/ruby/1.9.1/bin:/usr/gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/var/lib/gems/1.8/bin/:/root/.gem/ruby/2.1.0/bin:/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.7.12/bin:/usr/lib64/ruby/gems/2.0.0/gems/bundler-1.7.12/bin:/usr/ruby/1.9/bin",
15
+ "partitions": {
16
+ "sd0a": {
17
+ "size": "229070",
18
+ "mount": "/",
19
+ "filesystem": "ffs"
20
+ },
21
+ "sd0k": {
22
+ "size": "2227662",
23
+ "mount": "/home",
24
+ "filesystem": "ffs"
25
+ },
26
+ "sd0d": {
27
+ "size": "358606",
28
+ "mount": "/tmp",
29
+ "filesystem": "ffs"
30
+ },
31
+ "sd0f": {
32
+ "size": "1053790",
33
+ "mount": "/usr",
34
+ "filesystem": "ffs"
35
+ },
36
+ "sd0g": {
37
+ "size": "605614",
38
+ "mount": "/usr/X11R6",
39
+ "filesystem": "ffs"
40
+ },
41
+ "sd0h": {
42
+ "size": "2361550",
43
+ "mount": "/usr/local",
44
+ "filesystem": "ffs"
45
+ },
46
+ "sd0j": {
47
+ "size": "1426446",
48
+ "mount": "/usr/obj",
49
+ "filesystem": "ffs"
50
+ },
51
+ "sd0i": {
52
+ "size": "1089630",
53
+ "mount": "/usr/src",
54
+ "filesystem": "ffs"
55
+ },
56
+ "sd0e": {
57
+ "size": "467374",
58
+ "mount": "/var",
59
+ "filesystem": "ffs"
60
+ }
61
+ },
62
+ "macaddress": "00:0c:29:c0:a6:df",
63
+ "rubyversion": "1.9.3",
64
+ "hostname": "foo",
65
+ "operatingsystem": "OpenBSD",
66
+ "timezone": "UTC",
67
+ "facterversion": "2.4.4",
68
+ "processors": {
69
+ "count": 1,
70
+ "physicalcount": 1,
71
+ "speed": "2.3 GHz"
72
+ },
73
+ "uptime_seconds": 166,
74
+ "uptime": "0:02 hours",
75
+ "ps": "ps auxwww",
76
+ "operatingsystemmajrelease": "5",
77
+ "kernelversion": "5.7",
78
+ "virtual": "vmware",
79
+ "is_virtual": true,
80
+ "fqdn": "foo.example.com",
81
+ "netmask": "255.255.255.0",
82
+ "interfaces": "lo0,em0,enc0,pflog0",
83
+ "ipaddress_lo0": "127.0.0.1",
84
+ "netmask_lo0": "255.0.0.0",
85
+ "mtu_lo0": 32768,
86
+ "ipaddress_em0": "192.168.253.189",
87
+ "macaddress_em0": "00:0c:29:c0:a6:df",
88
+ "netmask_em0": "255.255.255.0",
89
+ "mtu_em0": 1500,
90
+ "mtu_enc0": 0,
91
+ "mtu_pflog0": 33144,
92
+ "id": "root",
93
+ "os": {
94
+ "name": "OpenBSD",
95
+ "family": "OpenBSD",
96
+ "release": {
97
+ "major": "5",
98
+ "minor": "7",
99
+ "full": "5.7"
100
+ }
101
+ },
102
+ "architecture": "amd64",
103
+ "operatingsystemrelease": "5.7",
104
+ "osfamily": "OpenBSD",
105
+ "rubysitedir": "/usr/local/lib/ruby/site_ruby/1.9.1",
106
+ "network_lo0": "127.0.0.0",
107
+ "network_em0": "192.168.253.0",
108
+ "uptime_days": 0,
109
+ "ipaddress": "192.168.253.189",
110
+ "memorysize": "367.94 MB",
111
+ "memoryfree": "199.95 MB",
112
+ "swapsize": "376.67 MB",
113
+ "swapfree": "376.67 MB",
114
+ "swapsize_mb": "376.67",
115
+ "swapfree_mb": "376.67",
116
+ "memorysize_mb": "367.94",
117
+ "memoryfree_mb": "199.95",
118
+ "swapencrypted": true,
119
+ "hardwareisa": "amd64",
120
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBAKzaw3xs2LCLI4QymDVhVP8xbtupUOlt/KUvuNSr0exQ/msqNC4qtnulEbir7VNvcWV9kBE4gZAPD6nBxKUdn3l8q4ykRNfuw25QZwlUV/ykJTpANrkSlssrGa9EflKGwnCkQo5gYpaOZYEz3VylDWAu5037gDGIKvPdjS8CNqGrAAAAFQDql1SCExPFO79KjqG8RbSZeg9URQAAAIEAinvytbHDQKolstt0pwd5xMGCkOcNBZiqIyO6wBkuOTH7tTrkPO1f7BatGtfoeZMk0u+t/5GckbJU6y5DCxKSsZ+Ty4f1z5T4iOcn6P3mKefUs/Zubifo5LDinbWemKSzWO251uoVdJ5O/C2Ubg4jT5SioHhqVqr9oWkw52QZO7MAAACAN7HemGR72xPbEUcAgyArQhXbjTgzo8/ngEWaTitHrPsKQB8w1QyNLkPQ01Yp1344O73Thq70zMgpsqPf5K+4SVPa5AnX0zlACbgXVd7/2ZotuhkQP36DuF80Zd1cDSogIwplfUd35WZdI5edwOQt9FZ+6SMmq5xer87xET/Tkc8=",
121
+ "sshfp_dsa": "SSHFP 2 1 53d1c1615079e9b921748052744bc48ed4b87dfc\nSSHFP 2 2 60660c2995ffedb958c9a2f30da692a6d4d62a9c6b097c156f69db9d252e71fa",
122
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC87qSueKP/AmtD1E1j4htCiX1iq/3rm8MjcmN1s5E0aD1xe/+7o6lxUnRl888JWW5E3PjSFJLmt2iv/8I7cY5d1TXp781TZXGGaH4rbXNE9M2CYt3AJqceIp9aAmqTwSoIJZx8CWDhn/d3JaauR9Xg8+Pun24RmihHHv1jbrwcvLjHSfRdcV33NRx5xtj4Y0l8iiC1h5kwLFehsPFDYcoHOzD5IMPu1qrWBSFx9a2v6tF5569z0wOE70WVfYL46Ec29S5aykdiBanTY9esplmYVqafT4QwrvV0aKIiR07bycCM/0jvIsUj8UrPG0MF9vN+ib9yCUsztgGlwx5h6My1",
123
+ "sshfp_rsa": "SSHFP 1 1 e3f20e83db7c64488a935ac156704ce0edac9623\nSSHFP 1 2 71513a74e958f342d384078fdaa87e277fd1fc3b0d48a727cb5ce659d77e1e78",
124
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHqlXL+DcnFdXpYSYFD6cG7QpMm94X4ukXB7l4XEqtnU0xVwcPiIaZdTsVNwXLCw2wq7F1FJMZGO3bgOqIZ4Cz0=",
125
+ "sshfp_ecdsa": "SSHFP 3 1 eb4a25a78528364f843e78d51c1aced9d752d52d\nSSHFP 3 2 6f1bef4301d663dfe1621c8fe640f3e727e2a599903b731226005b502f2605ad",
126
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIAPasZfGhoQSR/RqSPl2i8PLN5pje2Ao61T4X0xTnjtE",
127
+ "sshfp_ed25519": "SSHFP 4 1 ca2b120eb2385139ee335fff5fc6c4f39fb59faa\nSSHFP 4 2 6c6e975857e2fac49cca80ff6882b4713a4d908f363571206b513f77d0d573d1",
128
+ "uptime_hours": 0,
129
+ "physicalprocessorcount": 1,
130
+ "manufacturer": "VMware, Inc.",
131
+ "productname": "VMware Virtual Platform",
132
+ "serialnumber": "VMware-56 4d b0 47 c5 3c 1b 3d-3f d1 18 86 02 c0 a6 df",
133
+ "processorcount": 1,
134
+ "processor": "Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz",
135
+ "kernelmajversion": "5.7",
136
+ "domain": "example.com"
137
+ }
data/facts/Vagrantfile CHANGED
@@ -171,4 +171,27 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
171
171
  host.vm.provision "shell", path: "get_facts.sh"
172
172
  host.vm.provision "shell", inline: "/sbin/shutdown -i S -g0 -y 'Bye' &"
173
173
  end
174
+ config.vm.define "openbsd-5.7-x86_64" do |host|
175
+ host.vm.box = "bodgit/openbsd-5.7-amd64"
176
+ host.vm.synced_folder ".", "/vagrant", :nfs => true
177
+ host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
178
+ . ~/.profile
179
+
180
+ pkg_info -qe 'bash->=0' || pkg_add -I bash
181
+ ln -sf /usr/local/bin/bash /bin
182
+
183
+ pkg_info -qe 'ruby->=1.9.3' || pkg_add -I ruby-1.9.3.551p1
184
+ ln -sf /usr/local/bin/ruby19 /usr/local/bin/ruby
185
+ ln -sf /usr/local/bin/erb19 /usr/local/bin/erb
186
+ ln -sf /usr/local/bin/irb19 /usr/local/bin/irb
187
+ ln -sf /usr/local/bin/rdoc19 /usr/local/bin/rdoc
188
+ ln -sf /usr/local/bin/ri19 /usr/local/bin/ri
189
+ ln -sf /usr/local/bin/rake19 /usr/local/bin/rake
190
+ ln -sf /usr/local/bin/gem19 /usr/local/bin/gem
191
+ ln -sf /usr/local/bin/testrb19 /usr/local/bin/testrb
192
+ SCRIPT
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
174
197
  end
data/facts/get_facts.sh CHANGED
@@ -7,9 +7,10 @@ export PATH=/usr/gnu/bin:$PATH
7
7
  export PATH=$PATH:/var/lib/gems/1.8/bin/:/usr/local/bin:/root/.gem/ruby/2.1.0/bin:/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.7.12/bin:/usr/lib64/ruby/gems/2.0.0/gems/bundler-1.7.12/bin:/usr/ruby/1.9/bin
8
8
 
9
9
  # Install latest version of facter
10
- gem install bundler --no-ri --no-rdoc
10
+ gem install bundler --no-ri --no-rdoc --no-format-executable
11
11
  bundle install --path vendor/bundler
12
12
  operatingsystem=$(bundle exec facter operatingsystem | tr '[:upper:]' '[:lower:]')
13
+ operatingsystemrelease=$(bundle exec facter operatingsystemrelease)
13
14
  operatingsystemmajrelease=$(bundle exec facter operatingsystemmajrelease)
14
15
  hardwaremodel=$(bundle exec facter hardwaremodel)
15
16
 
@@ -24,11 +25,17 @@ for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0; do
24
25
  minor_version=$(echo $version | cut -c1-3)
25
26
  output_dir="/vagrant/${minor_version}"
26
27
  mkdir -p $output_dir
27
- if [ $operatingsystem == 'archlinux' -o $operatingsystem == 'gentoo' ]; then
28
- output_file="${output_dir}/${operatingsystem}-${hardwaremodel}.facts"
29
- else
30
- output_file="${output_dir}/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
31
- fi
28
+ case "${operatingsystem}" in
29
+ archlinux|gentoo)
30
+ output_file="${output_dir}/${operatingsystem}-${hardwaremodel}.facts"
31
+ ;;
32
+ openbsd)
33
+ output_file="${output_dir}/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
34
+ ;;
35
+ *)
36
+ output_file="${output_dir}/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
37
+ ;;
38
+ esac
32
39
  echo $version | grep -q -E '^1\.' &&
33
40
  FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
34
41
  FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | tee $output_file