facterdb 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,24 +1,7 @@
1
1
  {
2
- "architecture": "amd64",
3
2
  "augeas": {
4
3
  "version": "1.4.0"
5
4
  },
6
- "augeasversion": "1.4.0",
7
- "bios_release_date": "12/01/2006",
8
- "bios_vendor": "innotek GmbH",
9
- "bios_version": "VirtualBox",
10
- "blockdevice_sda_model": "VBOX HARDDISK",
11
- "blockdevice_sda_size": 21474836480,
12
- "blockdevice_sda_vendor": "ATA",
13
- "blockdevices": "sda",
14
- "boardmanufacturer": "Oracle Corporation",
15
- "boardproductname": "VirtualBox",
16
- "boardserialnumber": "0",
17
- "chassistype": "Other",
18
- "dhcp_servers": {
19
- "eth0": "10.0.2.2",
20
- "system": "10.0.2.2"
21
- },
22
5
  "disks": {
23
6
  "sda": {
24
7
  "model": "VBOX HARDDISK",
@@ -45,78 +28,52 @@
45
28
  "product": {
46
29
  "name": "VirtualBox",
47
30
  "serial_number": "0",
48
- "uuid": "70783324-CA99-467C-9BE2-6A1C05B9A12D"
31
+ "uuid": "6A78E712-50F6-4D39-87D3-CA35E538AB88"
49
32
  }
50
33
  },
51
- "domain": "example.com",
52
34
  "facterversion": "3.0.2",
53
35
  "filesystems": "ext2,ext3,ext4,vfat",
54
- "fqdn": "foo.example.com",
55
- "gid": "root",
56
- "hardwareisa": "x86_64",
57
- "hardwaremodel": "x86_64",
58
- "hostname": "foo",
59
- "id": "root",
60
36
  "identity": {
61
37
  "gid": 0,
62
38
  "group": "root",
63
39
  "uid": 0,
64
40
  "user": "root"
65
41
  },
66
- "interfaces": "eth0,lo",
67
- "ipaddress": "10.0.2.15",
68
- "ipaddress6": "fe80::a00:27ff:feb1:94b1",
69
- "ipaddress6_eth0": "fe80::a00:27ff:feb1:94b1",
70
- "ipaddress6_lo": "::1",
71
- "ipaddress_eth0": "10.0.2.15",
72
- "ipaddress_lo": "127.0.0.1",
73
42
  "is_virtual": true,
74
43
  "kernel": "Linux",
75
44
  "kernelmajversion": "3.16",
76
45
  "kernelrelease": "3.16.0-30-generic",
77
46
  "kernelversion": "3.16.0",
78
47
  "load_averages": {
79
- "15m": 0.1,
80
- "1m": 0.73,
81
- "5m": 0.27
48
+ "15m": 0.04,
49
+ "1m": 0.21,
50
+ "5m": 0.1
82
51
  },
83
- "lsbdistcodename": "trusty",
84
- "lsbdistdescription": "Ubuntu 14.04.2 LTS",
85
- "lsbdistid": "Ubuntu",
86
- "lsbdistrelease": "14.04",
87
- "lsbmajdistrelease": "14.04",
88
- "macaddress": "08:00:27:b1:94:b1",
89
- "macaddress_eth0": "08:00:27:b1:94:b1",
90
- "manufacturer": "innotek GmbH",
91
52
  "memory": {
92
53
  "swap": {
93
- "available": "508.55 MiB",
94
- "available_bytes": 533254144,
95
- "capacity": "0.67%",
54
+ "available": "511.58 MiB",
55
+ "available_bytes": 536432640,
56
+ "capacity": "0.08%",
96
57
  "total": "512.00 MiB",
97
58
  "total_bytes": 536866816,
98
- "used": "3.45 MiB",
99
- "used_bytes": 3612672
59
+ "used": "424.00 KiB",
60
+ "used_bytes": 434176
100
61
  },
101
62
  "system": {
102
- "available": "370.64 MiB",
103
- "available_bytes": 388648960,
104
- "capacity": "24.32%",
63
+ "available": "419.82 MiB",
64
+ "available_bytes": 440209408,
65
+ "capacity": "14.28%",
105
66
  "total": "489.74 MiB",
106
67
  "total_bytes": 513531904,
107
- "used": "119.10 MiB",
108
- "used_bytes": 124882944
68
+ "used": "69.93 MiB",
69
+ "used_bytes": 73322496
109
70
  }
110
71
  },
111
- "memoryfree": "370.64 MiB",
112
- "memoryfree_mb": 370.645,
113
- "memorysize": "489.74 MiB",
114
- "memorysize_mb": 489.742,
115
72
  "mountpoints": {
116
73
  "/": {
117
- "available": "17.49 GiB",
118
- "available_bytes": 18781511680,
119
- "capacity": "7.11%",
74
+ "available": "17.54 GiB",
75
+ "available_bytes": 18838560768,
76
+ "capacity": "6.83%",
120
77
  "device": "/dev/mapper/localhost--vg-root",
121
78
  "filesystem": "ext4",
122
79
  "options": [
@@ -125,12 +82,12 @@
125
82
  ],
126
83
  "size": "18.83 GiB",
127
84
  "size_bytes": 20219142144,
128
- "used": "1.34 GiB",
129
- "used_bytes": 1437630464
85
+ "used": "1.29 GiB",
86
+ "used_bytes": 1380581376
130
87
  },
131
88
  "/boot": {
132
- "available": "198.67 MiB",
133
- "available_bytes": 208316416,
89
+ "available": "198.65 MiB",
90
+ "available_bytes": 208301056,
134
91
  "capacity": "15.58%",
135
92
  "device": "/dev/sda1",
136
93
  "filesystem": "ext2",
@@ -139,24 +96,10 @@
139
96
  ],
140
97
  "size": "235.32 MiB",
141
98
  "size_bytes": 246755328,
142
- "used": "36.66 MiB",
143
- "used_bytes": 38438912
99
+ "used": "36.67 MiB",
100
+ "used_bytes": 38454272
144
101
  }
145
102
  },
146
- "mtu_eth0": 1500,
147
- "mtu_lo": 65536,
148
- "netmask": "255.255.255.0",
149
- "netmask6": "ffff:ffff:ffff:ffff::",
150
- "netmask6_eth0": "ffff:ffff:ffff:ffff::",
151
- "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
152
- "netmask_eth0": "255.255.255.0",
153
- "netmask_lo": "255.0.0.0",
154
- "network": "10.0.2.0",
155
- "network6": "fe80::",
156
- "network6_eth0": "fe80::",
157
- "network6_lo": "::1",
158
- "network_eth0": "10.0.2.0",
159
- "network_lo": "127.0.0.0",
160
103
  "networking": {
161
104
  "dhcp": "10.0.2.2",
162
105
  "domain": "example.com",
@@ -166,8 +109,8 @@
166
109
  "eth0": {
167
110
  "dhcp": "10.0.2.2",
168
111
  "ip": "10.0.2.15",
169
- "ip6": "fe80::a00:27ff:feb1:94b1",
170
- "mac": "08:00:27:b1:94:b1",
112
+ "ip6": "fe80::a00:27ff:feea:2027",
113
+ "mac": "08:00:27:ea:20:27",
171
114
  "mtu": 1500,
172
115
  "netmask": "255.255.255.0",
173
116
  "netmask6": "ffff:ffff:ffff:ffff::",
@@ -185,17 +128,14 @@
185
128
  }
186
129
  },
187
130
  "ip": "10.0.2.15",
188
- "ip6": "fe80::a00:27ff:feb1:94b1",
189
- "mac": "08:00:27:b1:94:b1",
131
+ "ip6": "fe80::a00:27ff:feea:2027",
132
+ "mac": "08:00:27:ea:20:27",
190
133
  "mtu": 1500,
191
134
  "netmask": "255.255.255.0",
192
135
  "netmask6": "ffff:ffff:ffff:ffff::",
193
136
  "network": "10.0.2.0",
194
137
  "network6": "fe80::"
195
138
  },
196
- "operatingsystem": "Ubuntu",
197
- "operatingsystemmajrelease": "14.04",
198
- "operatingsystemrelease": "14.04",
199
139
  "os": {
200
140
  "architecture": "amd64",
201
141
  "distro": {
@@ -218,111 +158,84 @@
218
158
  "enabled": false
219
159
  }
220
160
  },
221
- "osfamily": "Debian",
222
161
  "partitions": {
223
162
  "/dev/mapper/localhost--vg-root": {
224
163
  "filesystem": "ext4",
225
164
  "mount": "/",
226
165
  "size": "0 bytes",
227
166
  "size_bytes": 0,
228
- "uuid": "03194859-dda3-4fcf-b41b-3fd4e6d47720"
167
+ "uuid": "c94f234c-f947-450d-aaaf-d32be1b7f27f"
229
168
  },
230
169
  "/dev/mapper/localhost--vg-swap_1": {
231
170
  "filesystem": "swap",
232
171
  "size": "0 bytes",
233
172
  "size_bytes": 0,
234
- "uuid": "7617a0c1-00d0-45a2-a10a-9986d3c7b9bd"
173
+ "uuid": "5501b007-e44b-46cf-b22b-177428cbe5d6"
235
174
  },
236
175
  "/dev/sda1": {
237
176
  "filesystem": "ext2",
238
177
  "mount": "/boot",
239
178
  "size": "243.00 MiB",
240
179
  "size_bytes": 254803968,
241
- "uuid": "c8effbfb-89b3-4e36-8175-0a9833ac34f8"
180
+ "uuid": "3a97a5b0-ebd0-4ce6-ba62-d39b4fd0719e"
242
181
  },
243
182
  "/dev/sda5": {
244
183
  "filesystem": "LVM2_member",
245
184
  "size": "19.76 GiB",
246
185
  "size_bytes": 21216886784,
247
- "uuid": "EkpDWA-uEcn-x4bY-Fb3P-iulo-3Ztw-QUazJ8"
186
+ "uuid": "vgfiUo-lVmS-57wx-qv4m-N3fR-efa0-iBI6Cn"
248
187
  }
249
188
  },
250
- "path": "/opt/puppetlabs/bin:/opt/puppetlabs/puppet/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
251
- "physicalprocessorcount": 1,
252
- "processor0": "Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz",
253
- "processorcount": 1,
189
+ "path": "/usr/gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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",
254
190
  "processors": {
255
191
  "count": 1,
256
192
  "isa": "x86_64",
257
193
  "models": [
258
- "Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz"
194
+ "Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz"
259
195
  ],
260
196
  "physicalcount": 1
261
197
  },
262
- "productname": "VirtualBox",
263
198
  "ruby": {
264
199
  "platform": "x86_64-linux",
265
200
  "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
266
201
  "version": "2.1.6"
267
202
  },
268
- "rubyplatform": "x86_64-linux",
269
- "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
270
- "rubyversion": "2.1.6",
271
- "selinux": false,
272
- "serialnumber": "0",
273
203
  "ssh": {
274
204
  "dsa": {
275
205
  "fingerprints": {
276
- "sha1": "SSHFP 2 1 4c32425bfec902798099cf45cd6d92f63e0fc016",
277
- "sha256": "SSHFP 2 2 432357a8271c4172c8ed625488fc88806a21996b7a0a191379191a3c729a31db"
206
+ "sha1": "SSHFP 2 1 528b28369558620d8fb12d7bea179e437823154c",
207
+ "sha256": "SSHFP 2 2 5a7688dbb06e4b0c72e6e78ae4ca8b379620ba14b019d5b3ae5670936e1acdf4"
278
208
  },
279
- "key": "AAAAB3NzaC1kc3MAAACBAPkqr/uW2CyD+LBGGJVIwqzSfKla+tiJM/hwzWUdjMk7kGyagDHx/hE/cDZQR2RdbB5Ij0Tx8lYFHxnqdYhNqoSYgEZrYWsWcmrLumAFABAMwyXIzPhMKpqtr+RCr0Y4lol1hl8Ak1HmMbarjxumGL2e9jqOsoykBnJxg+SG+6EVAAAAFQCoHHmHohxsiK33M6ysOFQ7fg1lZwAAAIBcD5SKr1P63pqbTPOmjW2s/7Mu4k/N5Wknopfcek7FpGnv1JxH2ulaLXUBSYzG6MT3qhmT9yUjdgyl/ZE20kWpXpfPidFWOtlrqZX6361hArL+3QCbZGgk88fN7KEsNKjGt6XgwNFZVKr/59gf79xOVk3dJE/JlnmU8hRJmRnzJAAAAIEA8sOhdtlSAESse4x71yUhFHLaW0IgV9050/PR/zVtlGFv2o+8dp8/U2LyNkITFUv87aA248gUa82Yn6bWho19QXgDoUsUCfZ0ddt0dr3SOa+6tqpvbSwdmqrh0kzODxOyyGUpa4ptCRS7VnWWkAu1a5nB6IKNNCCXWyziX5tYYt8="
209
+ "key": "AAAAB3NzaC1kc3MAAACBAI8c8/RV/kAfEuo71eUt5O1BBbzk34v7b14bi3swzOnzJslJXt2KR/3Dy+8eazzkcw8nbmzZSHvcyo93yQ0LjsExXfG0EkzN7uiE840Fcpg5LFmeCHan0So3Cc1FLavcGu8N+RpWHYYLLmPjlQqPdHSS1rhhXdqKIoiTdlaocXD5AAAAFQCJ0mBV1SSayMNI6tTF4W0o1Y6+cQAAAIBWY05wbeTi/vFgkhH57X0/S7Kr86K3Q/BMz7ZmKF2XCzZW9LJ6Ou0T7tHKAr472DBwUm6IxGHoUXky0Q0+XDCVut9YLYXJK8L/P8SbGwhMfj1YPiv9uorECcrqJMB5W1GCFS+HIo4DvmKYzivcmpE25b/y0V1u5Oas9cQaNZnhxwAAAIBqvLMiEyQPpemji+p+p/9E3sdX6RMUeSHj7n3WSkRTdq09nZ0ewtH12LpbENCjoc4PFh02/qqdub0tjpbgJrMYgwJDADD/AsrdcDBd3gU7mDjyF8PFzWV9nEVYExu447svRt422OW6gkkJ6sn3fovBAvDaWy7OR5YYrg5JLp+/4A=="
280
210
  },
281
211
  "ecdsa": {
282
212
  "fingerprints": {
283
- "sha1": "SSHFP 3 1 fefcf9eba04a94aafbbfd2869fd2e8c3f07998c2",
284
- "sha256": "SSHFP 3 2 beb331d2f5e45813bd37d4a8f5372ff095f3275e65dd3ca88a0123204a702be6"
213
+ "sha1": "SSHFP 3 1 505ac6e68fa78305f635f305e11fbb0cc597e8ad",
214
+ "sha256": "SSHFP 3 2 d5840c440b5f52a582589e3b2b583ecea53fd6618851dbcfce2e5cca7624f3c8"
285
215
  },
286
- "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNNAnsOY2gj05qYkK8evdFPj3tKnfsMwfW5qt+zjx92tYYqtZ4MTGAkLYUW+/pHcFLQjwGqtFc2vzL6zg4Z8RXw="
216
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJKYyLqXe/n2LFUbqMkwhLyOpg10LYOx/MpdgFXTxUB67AP4/GoX8zfz5Lb6fOidSJTlrzD5FB584JiRlEGUGLo="
287
217
  },
288
218
  "ed25519": {
289
219
  "fingerprints": {
290
- "sha1": "SSHFP 4 1 da80259c4bff7abd6ed727dfb98a521423db82f3",
291
- "sha256": "SSHFP 4 2 72332a26e03c7c4e20723bb6734693c73d142ce745642b3f7ce151c607bc6828"
220
+ "sha1": "SSHFP 4 1 53784fee8fc968dca5c5d17e731716a012e59234",
221
+ "sha256": "SSHFP 4 2 95b82a785582818106bf403e53667fc559eeabf176f103a929a210a38e9c4e05"
292
222
  },
293
- "key": "AAAAC3NzaC1lZDI1NTE5AAAAINzZfAEPA275KcLEv1tqQN494s0K3czur2qDudcRg1/S"
223
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIAAhP8P8zhiQrKmyV/U+e5M7nd5X+ZuIEYCPHDoza0rP"
294
224
  },
295
225
  "rsa": {
296
226
  "fingerprints": {
297
- "sha1": "SSHFP 1 1 c32574df1b93110481e65187ac9ae6bda723c058",
298
- "sha256": "SSHFP 1 2 5a407c97b58d87fc47d58d024a2eb22c9fcc5c0df49c1502ebf5aff8f9e872d4"
227
+ "sha1": "SSHFP 1 1 4d3d498c7a3377c8f95ac713db4866c32199be51",
228
+ "sha256": "SSHFP 1 2 949c0790f27d5ef7e8b0c35ceabb23bdd50d81611093531c0354330a7234b833"
299
229
  },
300
- "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDDluqQT/k8JkkN613KDnbUOmMkT/VwOHMbEce2n01vOApoMebb14rWoK9tI6KQepIarOJeoyC667+BEmuItHqQx+6DqtVtBYmy+77ZgoNxxZz3ae/TPY1f2PrigVOPTgjl75pymYLxcxhJFOV6EX82Qc2/GtU5PRgtL2GN/gZlveGsKFkbKYHzwntS3B1bGYgjwO3FU2LrRggSLvOPhPCrQm0KjrsPK0SC6m9QSof3QRYU9QHu/9v2/q4qSjg9na8V3TKn2J4aor525mNB8SLxsF6ZC2AZLTH2w5UAPj2m9K9Sqdn+EiF3v2KuX/TiBV9vY6NKTcNBh3CasRjTm+mV"
230
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDIPayGCFe5RUpJ8/UsH6gf+ecMRWo1dc20+HAy0bV4KalYWN5jUB/wrs41rdJRwMKWczgSDi2gFMsJ7q8Vjvpm2hUy+3H3/AEASRij99+37X1T4A6vPpT45EhTpS6JgGROii1Q2+9AJ/6BE6fSawymgR7jDx5QNLbKRy/FiwZAG+A0n29iUALeKqEZMd/1fU0hQCy/V+9V4DgRbHcJz4lKgc6nYrMymj8tUivTd8zm+CQov+YsUAdaXHSxIGVofnFQYXzbPqWGVV8S3fpwvrn/IY6paZ2F/lHoWombHwE271Bw863oWdkKpzP1nhjR3+Q1z++Tl2ZXT+rp6mhS9Pwv"
301
231
  }
302
232
  },
303
- "sshdsakey": "AAAAB3NzaC1kc3MAAACBAPkqr/uW2CyD+LBGGJVIwqzSfKla+tiJM/hwzWUdjMk7kGyagDHx/hE/cDZQR2RdbB5Ij0Tx8lYFHxnqdYhNqoSYgEZrYWsWcmrLumAFABAMwyXIzPhMKpqtr+RCr0Y4lol1hl8Ak1HmMbarjxumGL2e9jqOsoykBnJxg+SG+6EVAAAAFQCoHHmHohxsiK33M6ysOFQ7fg1lZwAAAIBcD5SKr1P63pqbTPOmjW2s/7Mu4k/N5Wknopfcek7FpGnv1JxH2ulaLXUBSYzG6MT3qhmT9yUjdgyl/ZE20kWpXpfPidFWOtlrqZX6361hArL+3QCbZGgk88fN7KEsNKjGt6XgwNFZVKr/59gf79xOVk3dJE/JlnmU8hRJmRnzJAAAAIEA8sOhdtlSAESse4x71yUhFHLaW0IgV9050/PR/zVtlGFv2o+8dp8/U2LyNkITFUv87aA248gUa82Yn6bWho19QXgDoUsUCfZ0ddt0dr3SOa+6tqpvbSwdmqrh0kzODxOyyGUpa4ptCRS7VnWWkAu1a5nB6IKNNCCXWyziX5tYYt8=",
304
- "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNNAnsOY2gj05qYkK8evdFPj3tKnfsMwfW5qt+zjx92tYYqtZ4MTGAkLYUW+/pHcFLQjwGqtFc2vzL6zg4Z8RXw=",
305
- "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAINzZfAEPA275KcLEv1tqQN494s0K3czur2qDudcRg1/S",
306
- "sshfp_dsa": "SSHFP 2 1 4c32425bfec902798099cf45cd6d92f63e0fc016\nSSHFP 2 2 432357a8271c4172c8ed625488fc88806a21996b7a0a191379191a3c729a31db",
307
- "sshfp_ecdsa": "SSHFP 3 1 fefcf9eba04a94aafbbfd2869fd2e8c3f07998c2\nSSHFP 3 2 beb331d2f5e45813bd37d4a8f5372ff095f3275e65dd3ca88a0123204a702be6",
308
- "sshfp_ed25519": "SSHFP 4 1 da80259c4bff7abd6ed727dfb98a521423db82f3\nSSHFP 4 2 72332a26e03c7c4e20723bb6734693c73d142ce745642b3f7ce151c607bc6828",
309
- "sshfp_rsa": "SSHFP 1 1 c32574df1b93110481e65187ac9ae6bda723c058\nSSHFP 1 2 5a407c97b58d87fc47d58d024a2eb22c9fcc5c0df49c1502ebf5aff8f9e872d4",
310
- "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDDluqQT/k8JkkN613KDnbUOmMkT/VwOHMbEce2n01vOApoMebb14rWoK9tI6KQepIarOJeoyC667+BEmuItHqQx+6DqtVtBYmy+77ZgoNxxZz3ae/TPY1f2PrigVOPTgjl75pymYLxcxhJFOV6EX82Qc2/GtU5PRgtL2GN/gZlveGsKFkbKYHzwntS3B1bGYgjwO3FU2LrRggSLvOPhPCrQm0KjrsPK0SC6m9QSof3QRYU9QHu/9v2/q4qSjg9na8V3TKn2J4aor525mNB8SLxsF6ZC2AZLTH2w5UAPj2m9K9Sqdn+EiF3v2KuX/TiBV9vY6NKTcNBh3CasRjTm+mV",
311
- "swapfree": "508.55 MiB",
312
- "swapfree_mb": 508.551,
313
- "swapsize": "512.00 MiB",
314
- "swapsize_mb": 511.996,
315
233
  "system_uptime": {
316
234
  "days": 0,
317
235
  "hours": 0,
318
- "seconds": 128,
236
+ "seconds": 141,
319
237
  "uptime": "0:02 hours"
320
238
  },
321
- "timezone": "PST",
322
- "uptime": "0:02 hours",
323
- "uptime_days": 0,
324
- "uptime_hours": 0,
325
- "uptime_seconds": 128,
326
- "uuid": "70783324-CA99-467C-9BE2-6A1C05B9A12D",
239
+ "timezone": "PDT",
327
240
  "virtual": "virtualbox"
328
241
  }
data/facts/Vagrantfile CHANGED
@@ -10,36 +10,53 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
10
10
 
11
11
  config.vm.define "debian-6-x86_64" do |host|
12
12
  host.vm.box = "puppetlabs/debian-6.0.10-64-nocm"
13
+ host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems"
13
14
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
14
15
  host.vm.provision "shell", path: "get_facts.sh"
15
16
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
16
17
  end
17
18
  config.vm.define "debian-7-x86_64" do |host|
18
- host.vm.box = "debian/wheezy64"
19
+ host.vm.box = "puppetlabs/debian-7.8-64-nocm"
20
+ host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems ruby-dev"
19
21
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
20
22
  host.vm.provision "shell", path: "get_facts.sh"
21
23
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
22
24
  end
23
25
  config.vm.define "debian-8-x86_64" do |host|
24
- host.vm.box = "debian/jessie64"
26
+ host.vm.box = "camptocamp/debian-8-amd64"
27
+ host.vm.provision "shell", inline: "apt-get update && apt-get install -y curl"
28
+ host.vm.provision "shell", inline: "curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \\curl -sSL https://get.rvm.io | bash -s stable"
29
+ host.vm.provision "shell", inline: "source /etc/profile.d/rvm.sh && rvm install 1.9.3 && rvm use --create 1.9.3"
30
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
31
+ host.vm.provision "shell", path: "get_facts.sh"
32
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
33
+ end
34
+ config.vm.define "ubuntu-10.04-x86_64" do |host|
35
+ host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
36
+ host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
37
+ host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev rubygems libopenssl-ruby"
38
+ host.vm.provision "shell", inline: "gem install rubygems-update && /var/lib/gems/1.8/bin/update_rubygems"
25
39
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
26
40
  host.vm.provision "shell", path: "get_facts.sh"
27
41
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
28
42
  end
29
43
  config.vm.define "ubuntu-12.04-x86_64" do |host|
30
- host.vm.box = "ubuntu/precise64"
44
+ host.vm.box = "puppetlabs/ubuntu-12.04-64-nocm"
45
+ host.vm.provision "shell", inline: "apt-get update && apt-get install -y rubygems"
31
46
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
32
47
  host.vm.provision "shell", path: "get_facts.sh"
33
48
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
34
49
  end
35
50
  config.vm.define "ubuntu-14.04-x86_64" do |host|
36
- host.vm.box = "ubuntu/trusty64"
51
+ host.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
52
+ host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
37
53
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
38
54
  host.vm.provision "shell", path: "get_facts.sh"
39
55
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
40
56
  end
41
57
  config.vm.define "ubuntu-14.10-x86_64" do |host|
42
- host.vm.box = "ubuntu/utopic64"
58
+ host.vm.box = "chef/ubuntu-14.10"
59
+ host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
43
60
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
44
61
  host.vm.provision "shell", path: "get_facts.sh"
45
62
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
@@ -164,4 +181,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
164
181
  host.vm.provision "shell", path: "get_facts.sh"
165
182
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
166
183
  end
167
- end
184
+ config.vm.define "osx-10.10-x86_64" do |host|
185
+ host.vm.box = "AndrewDryga/vagrant-box-osx"
186
+ host.vm.network :private_network, ip: '10.0.0.2'
187
+ host.vm.synced_folder ".", "/vagrant", :nfs => true
188
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
189
+ host.vm.provision "shell", path: "get_facts.sh"
190
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
191
+ end
192
+ end
data/facts/get_facts.sh CHANGED
@@ -3,6 +3,8 @@
3
3
  export PATH=/opt/puppetlabs/bin:$PATH
4
4
 
5
5
  if test -f /usr/bin/apt-get; then
6
+ apt-get update
7
+ apt-get install -y lsb-release
6
8
  lsbdistcodename=$(lsb_release -sc)
7
9
  operatingsystem=$(lsb_release -si)
8
10
  operatingsystemmajrelease=$(lsb_release -sr)
@@ -31,6 +33,7 @@ case "${osfamily}" in
31
33
  if [[ "wily" =~ ${lsbdistcodename} ]]; then
32
34
  lsbdistcodename='trusty'
33
35
  fi
36
+ apt-get install -y wget
34
37
  wget "https://apt.puppetlabs.com/puppetlabs-release-pc1-${lsbdistcodename}.deb" -O /tmp/puppetlabs-release-pc1.deb
35
38
  dpkg --install /tmp/puppetlabs-release-pc1.deb
36
39
  apt-get update
@@ -40,6 +43,7 @@ case "${osfamily}" in
40
43
  mkdir -p $(dirname ${output_file})
41
44
  facter -j | tee ${output_file}
42
45
  done
46
+ apt-get install -y make gcc libgmp-dev
43
47
  ;;
44
48
  esac
45
49
 
@@ -1,5 +1,5 @@
1
1
  module FacterDB
2
2
  module Version
3
- STRING = '0.3.0'
3
+ STRING = '0.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facterdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickaël Canévet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-05 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: github_changelog_generator
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: json
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: facter
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: jgrep
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: Contains facts from many Facter version on many Operating Systems
@@ -116,8 +116,8 @@ executables:
116
116
  extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
- - ".gitignore"
120
- - ".travis.yml"
119
+ - .gitignore
120
+ - .travis.yml
121
121
  - CHANGELOG.md
122
122
  - Gemfile
123
123
  - LICENSE
@@ -257,6 +257,7 @@ files:
257
257
  - facts/2.0/centos-6-x86_64.facts
258
258
  - facts/2.0/centos-7-i386.facts
259
259
  - facts/2.0/centos-7-x86_64.facts
260
+ - facts/2.0/darwin-14-x86_64.facts
260
261
  - facts/2.0/debian-6-i386.facts
261
262
  - facts/2.0/debian-6-x86_64.facts
262
263
  - facts/2.0/debian-7-i386.facts
@@ -319,6 +320,7 @@ files:
319
320
  - facts/2.1/centos-6-x86_64.facts
320
321
  - facts/2.1/centos-7-i386.facts
321
322
  - facts/2.1/centos-7-x86_64.facts
323
+ - facts/2.1/darwin-14-x86_64.facts
322
324
  - facts/2.1/debian-6-i386.facts
323
325
  - facts/2.1/debian-6-x86_64.facts
324
326
  - facts/2.1/debian-7-i386.facts
@@ -381,6 +383,7 @@ files:
381
383
  - facts/2.2/centos-6-x86_64.facts
382
384
  - facts/2.2/centos-7-i386.facts
383
385
  - facts/2.2/centos-7-x86_64.facts
386
+ - facts/2.2/darwin-14-x86_64.facts
384
387
  - facts/2.2/debian-6-i386.facts
385
388
  - facts/2.2/debian-6-x86_64.facts
386
389
  - facts/2.2/debian-7-i386.facts
@@ -443,6 +446,7 @@ files:
443
446
  - facts/2.3/centos-6-x86_64.facts
444
447
  - facts/2.3/centos-7-i386.facts
445
448
  - facts/2.3/centos-7-x86_64.facts
449
+ - facts/2.3/darwin-14-x86_64.facts
446
450
  - facts/2.3/debian-6-i386.facts
447
451
  - facts/2.3/debian-6-x86_64.facts
448
452
  - facts/2.3/debian-7-i386.facts
@@ -505,6 +509,7 @@ files:
505
509
  - facts/2.4/centos-6-x86_64.facts
506
510
  - facts/2.4/centos-7-i386.facts
507
511
  - facts/2.4/centos-7-x86_64.facts
512
+ - facts/2.4/darwin-14-x86_64.facts
508
513
  - facts/2.4/debian-6-i386.facts
509
514
  - facts/2.4/debian-6-x86_64.facts
510
515
  - facts/2.4/debian-7-i386.facts
@@ -595,17 +600,17 @@ require_paths:
595
600
  - lib
596
601
  required_ruby_version: !ruby/object:Gem::Requirement
597
602
  requirements:
598
- - - ">="
603
+ - - ! '>='
599
604
  - !ruby/object:Gem::Version
600
605
  version: '0'
601
606
  required_rubygems_version: !ruby/object:Gem::Requirement
602
607
  requirements:
603
- - - ">="
608
+ - - ! '>='
604
609
  - !ruby/object:Gem::Version
605
610
  version: '0'
606
611
  requirements: []
607
612
  rubyforge_project:
608
- rubygems_version: 2.2.2
613
+ rubygems_version: 2.4.5
609
614
  signing_key:
610
615
  specification_version: 4
611
616
  summary: A Database of OS facts provided by Facter