onceover 3.16.0 β 3.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +50 -3
- data/factsets/Ubuntu-18.04-64.json +556 -0
- data/onceover.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68843ce722d5b55114b8497d3cfa6044d062e1623d4580d12a0171d6e6f835f2
|
4
|
+
data.tar.gz: 1cbd81319ab148ecb755218149c674a144de07abf533d8ea569a305b0f23e8f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9a9acaee5e37f28ae398e5ed191ef879b8dcaed21f8483b0712bfb126ee18514caa517f4feb3984d6136ed9b35fe27c2e8577d5de0ab91a86bc8c95b3506399
|
7
|
+
data.tar.gz: 941c9fc0533641f3f74a5daa1806ebd9e72116ff5ed01d10b5dce7641990f573e07b14072a8d4693da4ac086695830f196a5a6d4a757b5843aae8ecfe7bd7ecc
|
data/README.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
*The gateway drug to automated infrastructure testing with Puppet*
|
4
4
|
|
5
|
-
Onceover is a tool to automatically run basic tests on an entire Puppet controlrepo. It includes automatic parsing of the `Puppetfile`, `environment.conf` and others in order to
|
5
|
+
Onceover is a tool to automatically run basic tests on an entire Puppet controlrepo. It includes automatic parsing of the `Puppetfile`, `environment.conf` and others in order to stop silly mistakes ever reaching your Puppet Master!
|
6
|
+
|
7
|
+
**πΊπ₯³ New in v3.16.0: Multi-threaded module downloads!! See [r10k config](#r10k-config) to enable**
|
6
8
|
|
7
9
|
## Table of Contents
|
8
10
|
|
@@ -14,6 +16,7 @@ Onceover is a tool to automatically run basic tests on an entire Puppet controlr
|
|
14
16
|
- [factsets](#factsets)
|
15
17
|
- [Hiera Data](#hiera-data)
|
16
18
|
- [r10k](#r10k)
|
19
|
+
- [r10k Config](#r10k-config)
|
17
20
|
- [Spec testing](#spec-testing)
|
18
21
|
- [Adding your own spec tests](#adding-your-own-spec-tests)
|
19
22
|
- [Using Workarounds](#using-workarounds)
|
@@ -234,7 +237,7 @@ This gem comes with a few pre-canned factsets. These are listed under the `nodes
|
|
234
237
|
|
235
238
|
`spec/factsets/*.json`
|
236
239
|
|
237
|
-
Factsets are used by the
|
240
|
+
Factsets are used by the onceover gem to generate spec tests, which compile a given class against a certain set of facts. To create these factsets all we need to do is log onto a real machine that has puppet installed and run:
|
238
241
|
|
239
242
|
`puppet facts`
|
240
243
|
|
@@ -275,6 +278,51 @@ It is also worth noting that any hiera hierarchies that are based on custom fact
|
|
275
278
|
|
276
279
|
### r10k
|
277
280
|
|
281
|
+
Organisations often reference modules from their own git servers in the `Puppetfile`, like this:
|
282
|
+
|
283
|
+
```
|
284
|
+
mod "puppetlabs-apache",
|
285
|
+
:git => "https://git.megacorp.com/pup/puppetlabs-apache.git",
|
286
|
+
:tag => "v5.4.0"
|
287
|
+
```
|
288
|
+
|
289
|
+
Under the hood, Onceover uses r10k to download the modules in your `Puppetfile`. If you get errors downloading modules from Git, its because `r10k`'s call to your underlying `git` command has failed. Onceover tells you the command that `r10k` tried to run, so if you get an error like this:
|
290
|
+
|
291
|
+
```
|
292
|
+
INFO -> Updating module /Users/dylan/control-repo/.onceover/etc/puppetlabs/code/environments
|
293
|
+
/production/modules/apache
|
294
|
+
ERROR -> Command exited with non-zero exit code:
|
295
|
+
Command: git --git-dir /Users/dylan/.r10k/git/ssh---git.megacorp.com-pup-puppetlabs_apache.git fetch origin --prune
|
296
|
+
Stderr:
|
297
|
+
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
|
298
|
+
Host key verification failed.
|
299
|
+
|
300
|
+
fatal: Could not read from remote repository.
|
301
|
+
|
302
|
+
Please make sure you have the correct access rights
|
303
|
+
and the repository exists.
|
304
|
+
Exit code: 128
|
305
|
+
```
|
306
|
+
|
307
|
+
Then the approach to debug it would be to run the command that Onceover suggested:
|
308
|
+
|
309
|
+
```
|
310
|
+
git --git-dir /Users/dylan/.r10k/git/ssh---git.megacorp.com-pup-puppetlabs_apache.git fetch origin --prune
|
311
|
+
```
|
312
|
+
|
313
|
+
In this case, running the command interactively gives us a prompt to add the server to our `~/.ssh/known_hosts` file, which fixes the problem permanently:
|
314
|
+
|
315
|
+
```
|
316
|
+
$ git --git-dir /Users/dylan/.r10k/git/ssh---git.megacorp.com-pup-puppetlabs_apache.git fetch origin --prune
|
317
|
+
The authenticity of host 'git.megacorp.com (123.456.789.101)' can't be established.
|
318
|
+
...
|
319
|
+
Warning: Permanently added 'git.megacorp.com,123.456.789.101' (RSA) to the list of known hosts.
|
320
|
+
```
|
321
|
+
|
322
|
+
The other way to resolve this would have been to install the `ssh_askpass` program, but this can spam the screen with modal dialogs on some platforms.
|
323
|
+
|
324
|
+
#### r10k Config
|
325
|
+
|
278
326
|
If you have custom r10k config that you want to use, place the `r10k.yaml` file in one of the following locations:
|
279
327
|
|
280
328
|
- `{repo root}/r10k.yaml`
|
@@ -652,4 +700,3 @@ Cheers to all of those who helped out:
|
|
652
700
|
- @raphink
|
653
701
|
- @tequeter
|
654
702
|
- @alexjfisher
|
655
|
-
|
@@ -0,0 +1,556 @@
|
|
1
|
+
{
|
2
|
+
"name": "ubuntu-bionic.lan.asio",
|
3
|
+
"values": {
|
4
|
+
"aio_agent_version": "6.14.0",
|
5
|
+
"architecture": "amd64",
|
6
|
+
"augeas": {
|
7
|
+
"version": "1.12.0"
|
8
|
+
},
|
9
|
+
"augeasversion": "1.12.0",
|
10
|
+
"bios_release_date": "12/01/2006",
|
11
|
+
"bios_vendor": "innotek GmbH",
|
12
|
+
"bios_version": "VirtualBox",
|
13
|
+
"blockdevice_sda_model": "HARDDISK",
|
14
|
+
"blockdevice_sda_size": 10737418240,
|
15
|
+
"blockdevice_sda_vendor": "VBOX",
|
16
|
+
"blockdevice_sdb_model": "HARDDISK",
|
17
|
+
"blockdevice_sdb_size": 10485760,
|
18
|
+
"blockdevice_sdb_vendor": "VBOX",
|
19
|
+
"blockdevices": "sdb,sda",
|
20
|
+
"boardmanufacturer": "Oracle Corporation",
|
21
|
+
"boardproductname": "VirtualBox",
|
22
|
+
"boardserialnumber": "0",
|
23
|
+
"chassistype": "Other",
|
24
|
+
"dhcp_servers": {
|
25
|
+
"enp0s3": "10.0.2.2",
|
26
|
+
"system": "10.0.2.2"
|
27
|
+
},
|
28
|
+
"disks": {
|
29
|
+
"sda": {
|
30
|
+
"model": "HARDDISK",
|
31
|
+
"size": "10.00 GiB",
|
32
|
+
"size_bytes": 10737418240,
|
33
|
+
"vendor": "VBOX"
|
34
|
+
},
|
35
|
+
"sdb": {
|
36
|
+
"model": "HARDDISK",
|
37
|
+
"size": "10.00 MiB",
|
38
|
+
"size_bytes": 10485760,
|
39
|
+
"vendor": "VBOX"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"dmi": {
|
43
|
+
"bios": {
|
44
|
+
"release_date": "12/01/2006",
|
45
|
+
"vendor": "innotek GmbH",
|
46
|
+
"version": "VirtualBox"
|
47
|
+
},
|
48
|
+
"board": {
|
49
|
+
"manufacturer": "Oracle Corporation",
|
50
|
+
"product": "VirtualBox",
|
51
|
+
"serial_number": "0"
|
52
|
+
},
|
53
|
+
"chassis": {
|
54
|
+
"type": "Other"
|
55
|
+
},
|
56
|
+
"manufacturer": "innotek GmbH",
|
57
|
+
"product": {
|
58
|
+
"name": "VirtualBox",
|
59
|
+
"serial_number": "0",
|
60
|
+
"uuid": "2C7D24ED-FB7D-4B4C-BC4B-B9FC32C8BDC3"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"domain": "lan.asio",
|
64
|
+
"facterversion": "3.14.9",
|
65
|
+
"filesystems": "btrfs,ext2,ext3,ext4,iso9660,squashfs,vfat",
|
66
|
+
"fips_enabled": false,
|
67
|
+
"fqdn": "ubuntu-bionic.lan.asio",
|
68
|
+
"gid": "root",
|
69
|
+
"hardwareisa": "x86_64",
|
70
|
+
"hardwaremodel": "x86_64",
|
71
|
+
"hostname": "ubuntu-bionic",
|
72
|
+
"hypervisors": {
|
73
|
+
"virtualbox": {
|
74
|
+
"revision": "133895",
|
75
|
+
"version": "6.0.14"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"id": "root",
|
79
|
+
"identity": {
|
80
|
+
"gid": 0,
|
81
|
+
"group": "root",
|
82
|
+
"privileged": true,
|
83
|
+
"uid": 0,
|
84
|
+
"user": "root"
|
85
|
+
},
|
86
|
+
"interfaces": "enp0s3,lo",
|
87
|
+
"ipaddress": "10.0.2.15",
|
88
|
+
"ipaddress6": "fe80::bb:7dff:fee8:e923",
|
89
|
+
"ipaddress6_enp0s3": "fe80::bb:7dff:fee8:e923",
|
90
|
+
"ipaddress6_lo": "::1",
|
91
|
+
"ipaddress_enp0s3": "10.0.2.15",
|
92
|
+
"ipaddress_lo": "127.0.0.1",
|
93
|
+
"is_virtual": true,
|
94
|
+
"kernel": "Linux",
|
95
|
+
"kernelmajversion": "4.15",
|
96
|
+
"kernelrelease": "4.15.0-54-generic",
|
97
|
+
"kernelversion": "4.15.0",
|
98
|
+
"load_averages": {
|
99
|
+
"15m": 0.1,
|
100
|
+
"1m": 0.31,
|
101
|
+
"5m": 0.23
|
102
|
+
},
|
103
|
+
"lsbdistcodename": "bionic",
|
104
|
+
"lsbdistdescription": "Ubuntu 18.04.2 LTS",
|
105
|
+
"lsbdistid": "Ubuntu",
|
106
|
+
"lsbdistrelease": "18.04",
|
107
|
+
"lsbmajdistrelease": "18.04",
|
108
|
+
"macaddress": "02:bb:7d:e8:e9:23",
|
109
|
+
"macaddress_enp0s3": "02:bb:7d:e8:e9:23",
|
110
|
+
"manufacturer": "innotek GmbH",
|
111
|
+
"memory": {
|
112
|
+
"system": {
|
113
|
+
"available": "776.53 MiB",
|
114
|
+
"available_bytes": 814247936,
|
115
|
+
"capacity": "21.19%",
|
116
|
+
"total": "985.26 MiB",
|
117
|
+
"total_bytes": 1033121792,
|
118
|
+
"used": "208.73 MiB",
|
119
|
+
"used_bytes": 218873856
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"memoryfree": "776.53 MiB",
|
123
|
+
"memoryfree_mb": 776.52734375,
|
124
|
+
"memorysize": "985.26 MiB",
|
125
|
+
"memorysize_mb": 985.26171875,
|
126
|
+
"mountpoints": {
|
127
|
+
"/": {
|
128
|
+
"available": "8.14 GiB",
|
129
|
+
"available_bytes": 8742756352,
|
130
|
+
"capacity": "15.32%",
|
131
|
+
"device": "/dev/sda1",
|
132
|
+
"filesystem": "ext4",
|
133
|
+
"options": [
|
134
|
+
"rw",
|
135
|
+
"relatime",
|
136
|
+
"data=ordered"
|
137
|
+
],
|
138
|
+
"size": "9.63 GiB",
|
139
|
+
"size_bytes": 10340794368,
|
140
|
+
"used": "1.47 GiB",
|
141
|
+
"used_bytes": 1581260800
|
142
|
+
},
|
143
|
+
"/dev": {
|
144
|
+
"available": "480.22 MiB",
|
145
|
+
"available_bytes": 503545856,
|
146
|
+
"capacity": "0%",
|
147
|
+
"device": "udev",
|
148
|
+
"filesystem": "devtmpfs",
|
149
|
+
"options": [
|
150
|
+
"rw",
|
151
|
+
"nosuid",
|
152
|
+
"relatime",
|
153
|
+
"size=491744k",
|
154
|
+
"nr_inodes=122936",
|
155
|
+
"mode=755"
|
156
|
+
],
|
157
|
+
"size": "480.22 MiB",
|
158
|
+
"size_bytes": 503545856,
|
159
|
+
"used": "0 bytes",
|
160
|
+
"used_bytes": 0
|
161
|
+
},
|
162
|
+
"/dev/hugepages": {
|
163
|
+
"available": "0 bytes",
|
164
|
+
"available_bytes": 0,
|
165
|
+
"capacity": "100%",
|
166
|
+
"device": "hugetlbfs",
|
167
|
+
"filesystem": "hugetlbfs",
|
168
|
+
"options": [
|
169
|
+
"rw",
|
170
|
+
"relatime",
|
171
|
+
"pagesize=2M"
|
172
|
+
],
|
173
|
+
"size": "0 bytes",
|
174
|
+
"size_bytes": 0,
|
175
|
+
"used": "0 bytes",
|
176
|
+
"used_bytes": 0
|
177
|
+
},
|
178
|
+
"/dev/mqueue": {
|
179
|
+
"available": "0 bytes",
|
180
|
+
"available_bytes": 0,
|
181
|
+
"capacity": "100%",
|
182
|
+
"device": "mqueue",
|
183
|
+
"filesystem": "mqueue",
|
184
|
+
"options": [
|
185
|
+
"rw",
|
186
|
+
"relatime"
|
187
|
+
],
|
188
|
+
"size": "0 bytes",
|
189
|
+
"size_bytes": 0,
|
190
|
+
"used": "0 bytes",
|
191
|
+
"used_bytes": 0
|
192
|
+
},
|
193
|
+
"/dev/pts": {
|
194
|
+
"available": "0 bytes",
|
195
|
+
"available_bytes": 0,
|
196
|
+
"capacity": "100%",
|
197
|
+
"device": "devpts",
|
198
|
+
"filesystem": "devpts",
|
199
|
+
"options": [
|
200
|
+
"rw",
|
201
|
+
"nosuid",
|
202
|
+
"noexec",
|
203
|
+
"relatime",
|
204
|
+
"gid=5",
|
205
|
+
"mode=620",
|
206
|
+
"ptmxmode=000"
|
207
|
+
],
|
208
|
+
"size": "0 bytes",
|
209
|
+
"size_bytes": 0,
|
210
|
+
"used": "0 bytes",
|
211
|
+
"used_bytes": 0
|
212
|
+
},
|
213
|
+
"/dev/shm": {
|
214
|
+
"available": "492.63 MiB",
|
215
|
+
"available_bytes": 516558848,
|
216
|
+
"capacity": "0%",
|
217
|
+
"device": "tmpfs",
|
218
|
+
"filesystem": "tmpfs",
|
219
|
+
"options": [
|
220
|
+
"rw",
|
221
|
+
"nosuid",
|
222
|
+
"nodev"
|
223
|
+
],
|
224
|
+
"size": "492.63 MiB",
|
225
|
+
"size_bytes": 516558848,
|
226
|
+
"used": "0 bytes",
|
227
|
+
"used_bytes": 0
|
228
|
+
},
|
229
|
+
"/run": {
|
230
|
+
"available": "97.93 MiB",
|
231
|
+
"available_bytes": 102690816,
|
232
|
+
"capacity": "0.60%",
|
233
|
+
"device": "tmpfs",
|
234
|
+
"filesystem": "tmpfs",
|
235
|
+
"options": [
|
236
|
+
"rw",
|
237
|
+
"nosuid",
|
238
|
+
"noexec",
|
239
|
+
"relatime",
|
240
|
+
"size=100892k",
|
241
|
+
"mode=755"
|
242
|
+
],
|
243
|
+
"size": "98.53 MiB",
|
244
|
+
"size_bytes": 103313408,
|
245
|
+
"used": "608.00 KiB",
|
246
|
+
"used_bytes": 622592
|
247
|
+
},
|
248
|
+
"/run/lock": {
|
249
|
+
"available": "5.00 MiB",
|
250
|
+
"available_bytes": 5242880,
|
251
|
+
"capacity": "0%",
|
252
|
+
"device": "tmpfs",
|
253
|
+
"filesystem": "tmpfs",
|
254
|
+
"options": [
|
255
|
+
"rw",
|
256
|
+
"nosuid",
|
257
|
+
"nodev",
|
258
|
+
"noexec",
|
259
|
+
"relatime",
|
260
|
+
"size=5120k"
|
261
|
+
],
|
262
|
+
"size": "5.00 MiB",
|
263
|
+
"size_bytes": 5242880,
|
264
|
+
"used": "0 bytes",
|
265
|
+
"used_bytes": 0
|
266
|
+
},
|
267
|
+
"/run/user/1000": {
|
268
|
+
"available": "98.52 MiB",
|
269
|
+
"available_bytes": 103309312,
|
270
|
+
"capacity": "0%",
|
271
|
+
"device": "tmpfs",
|
272
|
+
"filesystem": "tmpfs",
|
273
|
+
"options": [
|
274
|
+
"rw",
|
275
|
+
"nosuid",
|
276
|
+
"nodev",
|
277
|
+
"relatime",
|
278
|
+
"size=100888k",
|
279
|
+
"mode=700",
|
280
|
+
"uid=1000",
|
281
|
+
"gid=1000"
|
282
|
+
],
|
283
|
+
"size": "98.52 MiB",
|
284
|
+
"size_bytes": 103309312,
|
285
|
+
"used": "0 bytes",
|
286
|
+
"used_bytes": 0
|
287
|
+
},
|
288
|
+
"/sys/fs/cgroup": {
|
289
|
+
"available": "492.63 MiB",
|
290
|
+
"available_bytes": 516558848,
|
291
|
+
"capacity": "0%",
|
292
|
+
"device": "tmpfs",
|
293
|
+
"filesystem": "tmpfs",
|
294
|
+
"options": [
|
295
|
+
"ro",
|
296
|
+
"nosuid",
|
297
|
+
"nodev",
|
298
|
+
"noexec",
|
299
|
+
"mode=755"
|
300
|
+
],
|
301
|
+
"size": "492.63 MiB",
|
302
|
+
"size_bytes": 516558848,
|
303
|
+
"used": "0 bytes",
|
304
|
+
"used_bytes": 0
|
305
|
+
},
|
306
|
+
"/vagrant": {
|
307
|
+
"available": "122.93 GiB",
|
308
|
+
"available_bytes": 131996221440,
|
309
|
+
"capacity": "85.01%",
|
310
|
+
"device": "vagrant",
|
311
|
+
"filesystem": "vboxsf",
|
312
|
+
"options": [
|
313
|
+
"rw",
|
314
|
+
"nodev",
|
315
|
+
"relatime",
|
316
|
+
"iocharset=utf8",
|
317
|
+
"uid=1000",
|
318
|
+
"gid=1000"
|
319
|
+
],
|
320
|
+
"size": "820.33 GiB",
|
321
|
+
"size_bytes": 880824786944,
|
322
|
+
"used": "697.40 GiB",
|
323
|
+
"used_bytes": 748828565504
|
324
|
+
},
|
325
|
+
"/var/lib/lxcfs": {
|
326
|
+
"available": "0 bytes",
|
327
|
+
"available_bytes": 0,
|
328
|
+
"capacity": "100%",
|
329
|
+
"device": "lxcfs",
|
330
|
+
"filesystem": "fuse.lxcfs",
|
331
|
+
"options": [
|
332
|
+
"rw",
|
333
|
+
"nosuid",
|
334
|
+
"nodev",
|
335
|
+
"relatime",
|
336
|
+
"user_id=0",
|
337
|
+
"group_id=0",
|
338
|
+
"allow_other"
|
339
|
+
],
|
340
|
+
"size": "0 bytes",
|
341
|
+
"size_bytes": 0,
|
342
|
+
"used": "0 bytes",
|
343
|
+
"used_bytes": 0
|
344
|
+
}
|
345
|
+
},
|
346
|
+
"mtu_enp0s3": 1500,
|
347
|
+
"mtu_lo": 65536,
|
348
|
+
"netmask": "255.255.255.0",
|
349
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
350
|
+
"netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
|
351
|
+
"netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
352
|
+
"netmask_enp0s3": "255.255.255.0",
|
353
|
+
"netmask_lo": "255.0.0.0",
|
354
|
+
"network": "10.0.2.0",
|
355
|
+
"network6": "fe80::",
|
356
|
+
"network6_enp0s3": "fe80::",
|
357
|
+
"network6_lo": "::1",
|
358
|
+
"network_enp0s3": "10.0.2.0",
|
359
|
+
"network_lo": "127.0.0.0",
|
360
|
+
"networking": {
|
361
|
+
"dhcp": "10.0.2.2",
|
362
|
+
"domain": "lan.asio",
|
363
|
+
"fqdn": "ubuntu-bionic.lan.asio",
|
364
|
+
"hostname": "ubuntu-bionic",
|
365
|
+
"interfaces": {
|
366
|
+
"enp0s3": {
|
367
|
+
"bindings": [
|
368
|
+
{
|
369
|
+
"address": "10.0.2.15",
|
370
|
+
"netmask": "255.255.255.0",
|
371
|
+
"network": "10.0.2.0"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"bindings6": [
|
375
|
+
{
|
376
|
+
"address": "fe80::bb:7dff:fee8:e923",
|
377
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
378
|
+
"network": "fe80::"
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"dhcp": "10.0.2.2",
|
382
|
+
"ip": "10.0.2.15",
|
383
|
+
"ip6": "fe80::bb:7dff:fee8:e923",
|
384
|
+
"mac": "02:bb:7d:e8:e9:23",
|
385
|
+
"mtu": 1500,
|
386
|
+
"netmask": "255.255.255.0",
|
387
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
388
|
+
"network": "10.0.2.0",
|
389
|
+
"network6": "fe80::",
|
390
|
+
"scope6": "link"
|
391
|
+
},
|
392
|
+
"lo": {
|
393
|
+
"bindings": [
|
394
|
+
{
|
395
|
+
"address": "127.0.0.1",
|
396
|
+
"netmask": "255.0.0.0",
|
397
|
+
"network": "127.0.0.0"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"bindings6": [
|
401
|
+
{
|
402
|
+
"address": "::1",
|
403
|
+
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
404
|
+
"network": "::1"
|
405
|
+
}
|
406
|
+
],
|
407
|
+
"ip": "127.0.0.1",
|
408
|
+
"ip6": "::1",
|
409
|
+
"mtu": 65536,
|
410
|
+
"netmask": "255.0.0.0",
|
411
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
412
|
+
"network": "127.0.0.0",
|
413
|
+
"network6": "::1",
|
414
|
+
"scope6": "host"
|
415
|
+
}
|
416
|
+
},
|
417
|
+
"ip": "10.0.2.15",
|
418
|
+
"ip6": "fe80::bb:7dff:fee8:e923",
|
419
|
+
"mac": "02:bb:7d:e8:e9:23",
|
420
|
+
"mtu": 1500,
|
421
|
+
"netmask": "255.255.255.0",
|
422
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
423
|
+
"network": "10.0.2.0",
|
424
|
+
"network6": "fe80::",
|
425
|
+
"primary": "enp0s3",
|
426
|
+
"scope6": "link"
|
427
|
+
},
|
428
|
+
"operatingsystem": "Ubuntu",
|
429
|
+
"operatingsystemmajrelease": "18.04",
|
430
|
+
"operatingsystemrelease": "18.04",
|
431
|
+
"os": {
|
432
|
+
"architecture": "amd64",
|
433
|
+
"distro": {
|
434
|
+
"codename": "bionic",
|
435
|
+
"description": "Ubuntu 18.04.2 LTS",
|
436
|
+
"id": "Ubuntu",
|
437
|
+
"release": {
|
438
|
+
"full": "18.04",
|
439
|
+
"major": "18.04"
|
440
|
+
}
|
441
|
+
},
|
442
|
+
"family": "Debian",
|
443
|
+
"hardware": "x86_64",
|
444
|
+
"name": "Ubuntu",
|
445
|
+
"release": {
|
446
|
+
"full": "18.04",
|
447
|
+
"major": "18.04"
|
448
|
+
},
|
449
|
+
"selinux": {
|
450
|
+
"enabled": false
|
451
|
+
}
|
452
|
+
},
|
453
|
+
"osfamily": "Debian",
|
454
|
+
"partitions": {
|
455
|
+
"/dev/sda1": {
|
456
|
+
"filesystem": "ext4",
|
457
|
+
"label": "cloudimg-rootfs",
|
458
|
+
"mount": "/",
|
459
|
+
"partuuid": "654c6dc7-01",
|
460
|
+
"size": "10.00 GiB",
|
461
|
+
"size_bytes": 10736352768,
|
462
|
+
"uuid": "8de716dd-d9b2-477f-b818-bb0b1eb036ce"
|
463
|
+
}
|
464
|
+
},
|
465
|
+
"path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/opt/puppetlabs/bin",
|
466
|
+
"physicalprocessorcount": 1,
|
467
|
+
"processor0": "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
|
468
|
+
"processor1": "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
|
469
|
+
"processorcount": 2,
|
470
|
+
"processors": {
|
471
|
+
"count": 2,
|
472
|
+
"isa": "x86_64",
|
473
|
+
"models": [
|
474
|
+
"Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
|
475
|
+
"Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz"
|
476
|
+
],
|
477
|
+
"physicalcount": 1
|
478
|
+
},
|
479
|
+
"productname": "VirtualBox",
|
480
|
+
"puppetversion": "6.14.0",
|
481
|
+
"ruby": {
|
482
|
+
"platform": "x86_64-linux",
|
483
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
|
484
|
+
"version": "2.5.7"
|
485
|
+
},
|
486
|
+
"rubyplatform": "x86_64-linux",
|
487
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
|
488
|
+
"rubyversion": "2.5.7",
|
489
|
+
"scope6": "link",
|
490
|
+
"scope6_enp0s3": "link",
|
491
|
+
"scope6_lo": "host",
|
492
|
+
"selinux": false,
|
493
|
+
"serialnumber": "0",
|
494
|
+
"ssh": {
|
495
|
+
"dsa": {
|
496
|
+
"fingerprints": {
|
497
|
+
"sha1": "SSHFP 2 1 7024118ae71eead4750a74d458472e89e38c7e7c",
|
498
|
+
"sha256": "SSHFP 2 2 e5606c7ee1cf32f5591b42c98a9bc87d27cef4bc75c7802cd3f22bcb39333656"
|
499
|
+
},
|
500
|
+
"key": "AAAAB3NzaC1kc3MAAACBAPemHtx92WDon/zDA0oaO5wWOXCUx45+6X9QxJugdryqG3RV0J/ZkKhayANq7NO1GeC3/3EC8celhsHyZFILEEJpFPzW32053dVnOZ6JyQCGb4JKFaCH7DjVnZLlTPyqvraykF3beEhp7dArSpsgsIURJLDRvE3PJdd9DDNtOapXAAAAFQC27/RqfyRjrjSOjNrfsqLm6GoT0QAAAIAJm6rGXMlZ+xNfPfVHsugGNP7BdcFLSWnUGaBQ+51FGkRdVesun6HF5A9/TNBfQ6U2k1BE8Qtc3H8uHrwenIQKyWuhVejvpYVD3NA6hztMWYiidiQ7Ji0O3qkPv4CY5QhlmyPit1gR4aly/fG1H8p+J/XbwrJXMtfR6ND3OXbeYwAAAIEAzDOkrJJgq5f+oPSVaOOmvbNdJ0B003fTyJEH+2yCm3q41O7vakoWv9Qt9mH7T/ivqwMK3yzk1eIpozx8TPU1aOQC3OyehoEXXFY6U5Jcgp0K8WUvVgnC47hAKBkf562aGdWftWNu4GkjI6wcNtZqkeVN/wyazilHRF9GyPdsvHg=",
|
501
|
+
"type": "ssh-dss"
|
502
|
+
},
|
503
|
+
"ecdsa": {
|
504
|
+
"fingerprints": {
|
505
|
+
"sha1": "SSHFP 3 1 aa6b8ac4bccb5afded59e2bf680cc151bbb27ef9",
|
506
|
+
"sha256": "SSHFP 3 2 4ee2dc2ded938a37ef44de4fd3f3add478abfe272f0a50dc7dbb1f9a4839ca99"
|
507
|
+
},
|
508
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF02SaI3oPW6CVWEvzDuf/XqaUF+OAr4RKNW3hAR8RRBSDEjQGdoejQEYP8lEFa1KeVlkJYnvgrPYwxVSUI6hUA=",
|
509
|
+
"type": "ecdsa-sha2-nistp256"
|
510
|
+
},
|
511
|
+
"ed25519": {
|
512
|
+
"fingerprints": {
|
513
|
+
"sha1": "SSHFP 4 1 a20e01cf434a802607e1aff21e621dd3ada6499f",
|
514
|
+
"sha256": "SSHFP 4 2 569917b95c5299fe3cdd1cc4a37166d1e81106a22bb75a15b99bb8694b2ac8c4"
|
515
|
+
},
|
516
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIHmh1Z/od2mbHDUkAL2bXswdwp43dPXQOKo9DA8AUDO1",
|
517
|
+
"type": "ssh-ed25519"
|
518
|
+
},
|
519
|
+
"rsa": {
|
520
|
+
"fingerprints": {
|
521
|
+
"sha1": "SSHFP 1 1 3bc833bc8e3e259da03d37aa0c0244ae98f30622",
|
522
|
+
"sha256": "SSHFP 1 2 f27f0e09326c1c8abc2b0691bc6444b77781c0a21e9d99933492f269e5163346"
|
523
|
+
},
|
524
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCw+QuEhOY+IrmAaG1/PgO0nyxYY0VYilhjcM5daSKb61z+XBmBuAsgVxWaQ815OxlwYQunPJZlKnaXZ8yTlnjk8eekxvWnoSLtqKZWW1+RfMyy6n6MyXdno1mwez+5HG3tThC63xE4EWbmKH+fsWuNT2ZpQ49fuWnG8sObv/66QLyCjt+KHMpy9ClHjpYli+0hFhdHTwxGo9H/r4I2En9rBcTy3nQZhZGm1FFh6xnHxnSGm02r2fhsk2x0kw9K1pA7IFtr31hBOu5Po5CJBVJQBd1TEozmNELl2ZISmT0HK3sIV4AG/FmFEsd9+63ST5BbeurlcOEzvxudDJmuroZX",
|
525
|
+
"type": "ssh-rsa"
|
526
|
+
}
|
527
|
+
},
|
528
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAPemHtx92WDon/zDA0oaO5wWOXCUx45+6X9QxJugdryqG3RV0J/ZkKhayANq7NO1GeC3/3EC8celhsHyZFILEEJpFPzW32053dVnOZ6JyQCGb4JKFaCH7DjVnZLlTPyqvraykF3beEhp7dArSpsgsIURJLDRvE3PJdd9DDNtOapXAAAAFQC27/RqfyRjrjSOjNrfsqLm6GoT0QAAAIAJm6rGXMlZ+xNfPfVHsugGNP7BdcFLSWnUGaBQ+51FGkRdVesun6HF5A9/TNBfQ6U2k1BE8Qtc3H8uHrwenIQKyWuhVejvpYVD3NA6hztMWYiidiQ7Ji0O3qkPv4CY5QhlmyPit1gR4aly/fG1H8p+J/XbwrJXMtfR6ND3OXbeYwAAAIEAzDOkrJJgq5f+oPSVaOOmvbNdJ0B003fTyJEH+2yCm3q41O7vakoWv9Qt9mH7T/ivqwMK3yzk1eIpozx8TPU1aOQC3OyehoEXXFY6U5Jcgp0K8WUvVgnC47hAKBkf562aGdWftWNu4GkjI6wcNtZqkeVN/wyazilHRF9GyPdsvHg=",
|
529
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF02SaI3oPW6CVWEvzDuf/XqaUF+OAr4RKNW3hAR8RRBSDEjQGdoejQEYP8lEFa1KeVlkJYnvgrPYwxVSUI6hUA=",
|
530
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIHmh1Z/od2mbHDUkAL2bXswdwp43dPXQOKo9DA8AUDO1",
|
531
|
+
"sshfp_dsa": "SSHFP 2 1 7024118ae71eead4750a74d458472e89e38c7e7c\nSSHFP 2 2 e5606c7ee1cf32f5591b42c98a9bc87d27cef4bc75c7802cd3f22bcb39333656",
|
532
|
+
"sshfp_ecdsa": "SSHFP 3 1 aa6b8ac4bccb5afded59e2bf680cc151bbb27ef9\nSSHFP 3 2 4ee2dc2ded938a37ef44de4fd3f3add478abfe272f0a50dc7dbb1f9a4839ca99",
|
533
|
+
"sshfp_ed25519": "SSHFP 4 1 a20e01cf434a802607e1aff21e621dd3ada6499f\nSSHFP 4 2 569917b95c5299fe3cdd1cc4a37166d1e81106a22bb75a15b99bb8694b2ac8c4",
|
534
|
+
"sshfp_rsa": "SSHFP 1 1 3bc833bc8e3e259da03d37aa0c0244ae98f30622\nSSHFP 1 2 f27f0e09326c1c8abc2b0691bc6444b77781c0a21e9d99933492f269e5163346",
|
535
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCw+QuEhOY+IrmAaG1/PgO0nyxYY0VYilhjcM5daSKb61z+XBmBuAsgVxWaQ815OxlwYQunPJZlKnaXZ8yTlnjk8eekxvWnoSLtqKZWW1+RfMyy6n6MyXdno1mwez+5HG3tThC63xE4EWbmKH+fsWuNT2ZpQ49fuWnG8sObv/66QLyCjt+KHMpy9ClHjpYli+0hFhdHTwxGo9H/r4I2En9rBcTy3nQZhZGm1FFh6xnHxnSGm02r2fhsk2x0kw9K1pA7IFtr31hBOu5Po5CJBVJQBd1TEozmNELl2ZISmT0HK3sIV4AG/FmFEsd9+63ST5BbeurlcOEzvxudDJmuroZX",
|
536
|
+
"system_uptime": {
|
537
|
+
"days": 0,
|
538
|
+
"hours": 0,
|
539
|
+
"seconds": 336,
|
540
|
+
"uptime": "0:05 hours"
|
541
|
+
},
|
542
|
+
"timezone": "UTC",
|
543
|
+
"uptime": "0:05 hours",
|
544
|
+
"uptime_days": 0,
|
545
|
+
"uptime_hours": 0,
|
546
|
+
"uptime_seconds": 336,
|
547
|
+
"uuid": "2C7D24ED-FB7D-4B4C-BC4B-B9FC32C8BDC3",
|
548
|
+
"virtual": "virtualbox",
|
549
|
+
"clientcert": "ubuntu-bionic.lan.asio",
|
550
|
+
"clientversion": "6.14.0",
|
551
|
+
"clientnoop": false
|
552
|
+
},
|
553
|
+
"timestamp": "2020-04-29T09:42:42.131094744+00:00",
|
554
|
+
"expiration": "2020-04-29T10:12:42.131454548+00:00"
|
555
|
+
}
|
556
|
+
|
data/onceover.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "onceover"
|
7
|
-
s.version = "3.
|
7
|
+
s.version = "3.17.0"
|
8
8
|
s.authors = ["Dylan Ratcliffe"]
|
9
9
|
s.email = ["dylan.ratcliffe@puppet.com"]
|
10
10
|
s.homepage = "https://github.com/dylanratcliffe/onceover"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Ratcliffe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backticks
|
@@ -299,6 +299,7 @@ files:
|
|
299
299
|
- factsets/Ubuntu-12.04-64.json
|
300
300
|
- factsets/Ubuntu-14.04-32.json
|
301
301
|
- factsets/Ubuntu-14.04-64.json
|
302
|
+
- factsets/Ubuntu-18.04-64.json
|
302
303
|
- factsets/Windows_Server-2008r2-64.json
|
303
304
|
- factsets/Windows_Server-2012r2-64.json
|
304
305
|
- factsets/solaris-10_u9-sparc-64.json
|
@@ -422,8 +423,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
422
423
|
- !ruby/object:Gem::Version
|
423
424
|
version: '0'
|
424
425
|
requirements: []
|
425
|
-
|
426
|
-
rubygems_version: 2.7.6.2
|
426
|
+
rubygems_version: 3.0.3
|
427
427
|
signing_key:
|
428
428
|
specification_version: 4
|
429
429
|
summary: Testing tools for Puppet controlrepos
|