onceover 3.1.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fadf99405e225f596dc733991e921b575ff4ff3d
4
- data.tar.gz: e64a282077068f8d878e9f0f61553c41279c6c1c
3
+ metadata.gz: 20cc4dfa81d2dd2ce83560179755629bf7a446c1
4
+ data.tar.gz: 27f391982d9fad209a3cf0bfcfd9d3663558964d
5
5
  SHA512:
6
- metadata.gz: fae38e2a4b3e875f8427df08e09b99420475dce16cf124498ec7151cfdd05294a85d3dbb6dbdf10e3295553375a13b46bd5790f5c7c06c432321c8ba9d2c97f6
7
- data.tar.gz: e3770b45c7de68659f623b8e37995892a05d4cdf47c3761f3d068ebfa5fda7c33fba95d44a8431b99374f3ceed22e8390a7829da88972a3a3df0f69e4aab43f0
6
+ metadata.gz: cd87c9c65115775a7b547352b1ee22d64a471ebb6570e05593998d590dcf60459d2d77bfb7243608f289d3a9d32e4ea86fbd0aace68744dc61dc7bf85ad6384c
7
+ data.tar.gz: 181803b3031b901284df2a35e8a3ebf36a910e2ffd477ff3302c7fd76f18585aed7376e1cb939742a551e3bdf0b7ce2e682b918b108d049c4d77f978525f8a32
data/README.md CHANGED
@@ -4,10 +4,6 @@
4
4
 
5
5
  Onceover is a tool to automatically run basic tests on an entire Puppet controlrepo. It includes automatic parsing the `Puppetfile`, `environment.conf` and others in order to run both basic compilation tests and also full acceptance tests!
6
6
 
7
- **NEW FEATURE! REGEX SUPPORT!**
8
-
9
- **NEW NEW FEATURE! Parallel tests, run** `onceover run spec --help` **for more info**
10
-
11
7
  ## Table of Contents
12
8
 
13
9
  - [Overview](#overview)
@@ -23,6 +19,7 @@ Onceover is a tool to automatically run basic tests on an entire Puppet controlr
23
19
  - [Acceptance testing](#acceptance-testing)
24
20
  - [Using Workarounds](#using-workarounds)
25
21
  - [Extra tooling](#extra-tooling)
22
+ - [Plugins](#plugins)
26
23
  - [Accessing Onceover in a traditional RSpec test](#accessing-onceover-in-a-traditional-rspec-test)
27
24
  - [Accessing fact sets in a traditional RSpec test](#accessing-fact-sets-in-a-traditional-rspec-test)
28
25
  - [Accessing Roles in a traditional RSpec test](#accessing-roles-in-a-traditional-rspec-test)
@@ -0,0 +1,317 @@
1
+ {
2
+ "name": "sles11-sp3.lan.asio",
3
+ "values": {
4
+ "aio_agent_version": "1.8.3",
5
+ "architecture": "x86_64",
6
+ "augeas": {
7
+ "version": "1.4.0"
8
+ },
9
+ "augeasversion": "1.4.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": 53687091200,
15
+ "blockdevice_sda_vendor": "VBOX",
16
+ "blockdevices": "sda",
17
+ "boardmanufacturer": "Oracle Corporation",
18
+ "boardproductname": "VirtualBox",
19
+ "boardserialnumber": "0",
20
+ "chassistype": "Other",
21
+ "disks": {
22
+ "sda": {
23
+ "model": "HARDDISK",
24
+ "size": "50.00 GiB",
25
+ "size_bytes": 53687091200,
26
+ "vendor": "VBOX"
27
+ }
28
+ },
29
+ "dmi": {
30
+ "bios": {
31
+ "release_date": "12/01/2006",
32
+ "vendor": "innotek GmbH",
33
+ "version": "VirtualBox"
34
+ },
35
+ "board": {
36
+ "manufacturer": "Oracle Corporation",
37
+ "product": "VirtualBox",
38
+ "serial_number": "0"
39
+ },
40
+ "chassis": {
41
+ "type": "Other"
42
+ },
43
+ "manufacturer": "innotek GmbH",
44
+ "product": {
45
+ "name": "VirtualBox",
46
+ "serial_number": "0",
47
+ "uuid": "8B82075A-B071-4035-A96A-3B5D08F6841D"
48
+ }
49
+ },
50
+ "domain": "lan.asio",
51
+ "facterversion": "3.5.1",
52
+ "filesystems": "ext3,iso9660,squashfs",
53
+ "fqdn": "sles11-sp3.lan.asio",
54
+ "gid": "root",
55
+ "hardwareisa": "x86_64",
56
+ "hardwaremodel": "x86_64",
57
+ "hostname": "sles11-sp3",
58
+ "id": "root",
59
+ "identity": {
60
+ "gid": 0,
61
+ "group": "root",
62
+ "privileged": true,
63
+ "uid": 0,
64
+ "user": "root"
65
+ },
66
+ "interfaces": "eth0,lo",
67
+ "ipaddress": "10.0.2.15",
68
+ "ipaddress6": "fe80::216:3eff:fe48:617f",
69
+ "ipaddress6_eth0": "fe80::216:3eff:fe48:617f",
70
+ "ipaddress6_lo": "::1",
71
+ "ipaddress_eth0": "10.0.2.15",
72
+ "ipaddress_lo": "127.0.0.1",
73
+ "is_virtual": true,
74
+ "kernel": "Linux",
75
+ "kernelmajversion": "3.0",
76
+ "kernelrelease": "3.0.101-0.47.67-default",
77
+ "kernelversion": "3.0.101",
78
+ "load_averages": {
79
+ "15m": 0.06,
80
+ "1m": 0.18,
81
+ "5m": 0.08
82
+ },
83
+ "macaddress": "00:16:3e:48:61:7f",
84
+ "macaddress_eth0": "00:16:3e:48:61:7f",
85
+ "manufacturer": "innotek GmbH",
86
+ "memory": {
87
+ "system": {
88
+ "available": "354.30 MiB",
89
+ "available_bytes": 371511296,
90
+ "capacity": "27.78%",
91
+ "total": "490.61 MiB",
92
+ "total_bytes": 514437120,
93
+ "used": "136.30 MiB",
94
+ "used_bytes": 142925824
95
+ }
96
+ },
97
+ "memoryfree": "354.30 MiB",
98
+ "memoryfree_mb": 354.30078125,
99
+ "memorysize": "490.61 MiB",
100
+ "memorysize_mb": 490.60546875,
101
+ "mountpoints": {
102
+ "/": {
103
+ "available": "47.14 GiB",
104
+ "available_bytes": 50611761152,
105
+ "capacity": "4.22%",
106
+ "device": "/dev/sda1",
107
+ "filesystem": "ext3",
108
+ "options": [
109
+ "rw",
110
+ "relatime",
111
+ "errors=continue",
112
+ "barrier=1",
113
+ "data=ordered"
114
+ ],
115
+ "size": "49.21 GiB",
116
+ "size_bytes": 52843638784,
117
+ "used": "2.08 GiB",
118
+ "used_bytes": 2231877632
119
+ },
120
+ "/dev/shm": {
121
+ "available": "245.29 MiB",
122
+ "available_bytes": 257208320,
123
+ "capacity": "0.00%",
124
+ "device": "tmpfs",
125
+ "filesystem": "tmpfs",
126
+ "options": [
127
+ "rw",
128
+ "relatime"
129
+ ],
130
+ "size": "245.30 MiB",
131
+ "size_bytes": 257216512,
132
+ "used": "8.00 KiB",
133
+ "used_bytes": 8192
134
+ }
135
+ },
136
+ "mtu_eth0": 1500,
137
+ "mtu_lo": 16436,
138
+ "netmask": "255.255.255.0",
139
+ "netmask6": "ffff:ffff:ffff:ffff::",
140
+ "netmask6_eth0": "ffff:ffff:ffff:ffff::",
141
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
142
+ "netmask_eth0": "255.255.255.0",
143
+ "netmask_lo": "255.0.0.0",
144
+ "network": "10.0.2.0",
145
+ "network6": "fe80::",
146
+ "network6_eth0": "fe80::",
147
+ "network6_lo": "::1",
148
+ "network_eth0": "10.0.2.0",
149
+ "network_lo": "127.0.0.0",
150
+ "networking": {
151
+ "domain": "lan.asio",
152
+ "fqdn": "sles11-sp3.lan.asio",
153
+ "hostname": "sles11-sp3",
154
+ "interfaces": {
155
+ "eth0": {
156
+ "bindings": [
157
+ {
158
+ "address": "10.0.2.15",
159
+ "netmask": "255.255.255.0",
160
+ "network": "10.0.2.0"
161
+ }
162
+ ],
163
+ "bindings6": [
164
+ {
165
+ "address": "fe80::216:3eff:fe48:617f",
166
+ "netmask": "ffff:ffff:ffff:ffff::",
167
+ "network": "fe80::"
168
+ }
169
+ ],
170
+ "ip": "10.0.2.15",
171
+ "ip6": "fe80::216:3eff:fe48:617f",
172
+ "mac": "00:16:3e:48:61:7f",
173
+ "mtu": 1500,
174
+ "netmask": "255.255.255.0",
175
+ "netmask6": "ffff:ffff:ffff:ffff::",
176
+ "network": "10.0.2.0",
177
+ "network6": "fe80::"
178
+ },
179
+ "lo": {
180
+ "bindings": [
181
+ {
182
+ "address": "127.0.0.1",
183
+ "netmask": "255.0.0.0",
184
+ "network": "127.0.0.0"
185
+ },
186
+ {
187
+ "address": "127.0.0.2",
188
+ "netmask": "255.0.0.0",
189
+ "network": "127.0.0.0"
190
+ }
191
+ ],
192
+ "bindings6": [
193
+ {
194
+ "address": "::1",
195
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
196
+ "network": "::1"
197
+ }
198
+ ],
199
+ "ip": "127.0.0.1",
200
+ "ip6": "::1",
201
+ "mtu": 16436,
202
+ "netmask": "255.0.0.0",
203
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
204
+ "network": "127.0.0.0",
205
+ "network6": "::1"
206
+ }
207
+ },
208
+ "ip": "10.0.2.15",
209
+ "ip6": "fe80::216:3eff:fe48:617f",
210
+ "mac": "00:16:3e:48:61:7f",
211
+ "mtu": 1500,
212
+ "netmask": "255.255.255.0",
213
+ "netmask6": "ffff:ffff:ffff:ffff::",
214
+ "network": "10.0.2.0",
215
+ "network6": "fe80::",
216
+ "primary": "eth0"
217
+ },
218
+ "operatingsystem": "SLES",
219
+ "operatingsystemmajrelease": "11",
220
+ "operatingsystemrelease": "11.3",
221
+ "os": {
222
+ "architecture": "x86_64",
223
+ "family": "Suse",
224
+ "hardware": "x86_64",
225
+ "name": "SLES",
226
+ "release": {
227
+ "full": "11.3",
228
+ "major": "11",
229
+ "minor": "3"
230
+ },
231
+ "selinux": {
232
+ "enabled": false
233
+ }
234
+ },
235
+ "osfamily": "Suse",
236
+ "partitions": {
237
+ "/dev/sda1": {
238
+ "filesystem": "ext3",
239
+ "mount": "/",
240
+ "size": "50.00 GiB",
241
+ "size_bytes": 53686042624,
242
+ "uuid": "586adc21-9cfc-4e12-93e6-c711ab2400b1"
243
+ }
244
+ },
245
+ "path": "/usr/bin:/bin:/usr/sbin:/sbin",
246
+ "physicalprocessorcount": 1,
247
+ "processor0": "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
248
+ "processorcount": 1,
249
+ "processors": {
250
+ "count": 1,
251
+ "isa": "x86_64",
252
+ "models": [
253
+ "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz"
254
+ ],
255
+ "physicalcount": 1
256
+ },
257
+ "productname": "VirtualBox",
258
+ "puppetversion": "4.8.2",
259
+ "ruby": {
260
+ "platform": "x86_64-linux",
261
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
262
+ "version": "2.1.9"
263
+ },
264
+ "rubyplatform": "x86_64-linux",
265
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
266
+ "rubyversion": "2.1.9",
267
+ "selinux": false,
268
+ "serialnumber": "0",
269
+ "ssh": {
270
+ "dsa": {
271
+ "fingerprints": {
272
+ "sha1": "SSHFP 2 1 2f39a5ddd25d30676bceb1b99faec8330cb80cd5",
273
+ "sha256": "SSHFP 2 2 d17b59f49908df6bd337918a31a4e38f8489a0c46ada06963cb67ab3a4bdfb11"
274
+ },
275
+ "key": "AAAAB3NzaC1kc3MAAACBALvEn/P3Kfg/yFWplaqFsrUOk/Kh9aOZTNNCoJX7lsSQkWpLDkjz03IZZ1pUsykZp6HUhzfW1ZCOKme5503MAsflB78fjgsfGaVL2IcWOvPhurC8SXGivanS5+rL3CFqja/+nMJBPFg8oEyjJei6RJZCQtlEFSEJziKMVI368fxLAAAAFQCC8c+IrxPZc4zVe5EF6qsPnZtMiwAAAIEApfv1xS6ECWq1f8J43BXFdiRszBXQecgdPtf6STvabnYdLKScAPyu3JdosrPswlZWEXLz+srkqqai6xISeSxLKrlY570GNVPmgnBFmoz+iJRi6kakroNe5xjGT45aTyZ16cyg9LFHFLL3KadlzZXu+9XwS9kv09SFlvH6+9+XNGMAAACBALLbpqIZKISARdnFviWOWzFbvYzZHiO3ddAYnXVCGfW1ywmGDqc5kUNTZsBFNYVA56YcaHR/kwFHjOij3SJnvy6VxSG9sSZ4wex/FGBmTUmklelZQsywITGps3MWxiyO3TGfIEXJlqgyVxXZhXnIshN//NCCPbq2X7X7VyTyGjhI"
276
+ },
277
+ "ecdsa": {
278
+ "fingerprints": {
279
+ "sha1": "SSHFP 3 1 7fc0ef4bb2d2d14db8fc0bc0b1b97a9d83c6dc17",
280
+ "sha256": "SSHFP 3 2 a0b01ecd2461ed45e0b51ebec48f79957a9710c3ec441cde0e6c4e5d8939c15e"
281
+ },
282
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK9w38lDcCpjkGqrTdhhsZCVzS2XKgC6Q9fTvkZn1RLhvvWjDBHyFg0KyTAqfepMNNjdgHqEBFumKc3w+L5xLuY="
283
+ },
284
+ "rsa": {
285
+ "fingerprints": {
286
+ "sha1": "SSHFP 1 1 20cdd84628cfad3edff17edf9ce3c2f7f1756f41",
287
+ "sha256": "SSHFP 1 2 f48e7e96ed7708c6225367ada2a29309f159a12443eeaed6c86efee0660f3f78"
288
+ },
289
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC2nt/gDBidRKDNUmDDThXA+mMWQxq83odOXzx4/3NHMMfIfu3nuvcCaTI+Tp1EiNcbb6Q2ummoGdJpCXT6/W4cjfluuun1rBDeQzzFfthdBAasNKbSCy+cYKwda0zfP9X4Az0SqsbHM5DekNS0w0stCB+L5qqlhaKyunyid2PaeLfSalP5RbcAxGSy5ijLNcAZqbuNOEiq1v0IIySCPplvzvEv//Ht8PhPhXQiRRtKMeq5pAgqjLeUq5zRlXIVqTYfZPfa5tuteaZNxpRxbDvog7h57LWsHKZSjc8ND2ocoehIymNeL4kpFkLg6TMm6BEEOEks5Kue/SXdYUbHkRKN"
290
+ }
291
+ },
292
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBALvEn/P3Kfg/yFWplaqFsrUOk/Kh9aOZTNNCoJX7lsSQkWpLDkjz03IZZ1pUsykZp6HUhzfW1ZCOKme5503MAsflB78fjgsfGaVL2IcWOvPhurC8SXGivanS5+rL3CFqja/+nMJBPFg8oEyjJei6RJZCQtlEFSEJziKMVI368fxLAAAAFQCC8c+IrxPZc4zVe5EF6qsPnZtMiwAAAIEApfv1xS6ECWq1f8J43BXFdiRszBXQecgdPtf6STvabnYdLKScAPyu3JdosrPswlZWEXLz+srkqqai6xISeSxLKrlY570GNVPmgnBFmoz+iJRi6kakroNe5xjGT45aTyZ16cyg9LFHFLL3KadlzZXu+9XwS9kv09SFlvH6+9+XNGMAAACBALLbpqIZKISARdnFviWOWzFbvYzZHiO3ddAYnXVCGfW1ywmGDqc5kUNTZsBFNYVA56YcaHR/kwFHjOij3SJnvy6VxSG9sSZ4wex/FGBmTUmklelZQsywITGps3MWxiyO3TGfIEXJlqgyVxXZhXnIshN//NCCPbq2X7X7VyTyGjhI",
293
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK9w38lDcCpjkGqrTdhhsZCVzS2XKgC6Q9fTvkZn1RLhvvWjDBHyFg0KyTAqfepMNNjdgHqEBFumKc3w+L5xLuY=",
294
+ "sshfp_dsa": "SSHFP 2 1 2f39a5ddd25d30676bceb1b99faec8330cb80cd5\nSSHFP 2 2 d17b59f49908df6bd337918a31a4e38f8489a0c46ada06963cb67ab3a4bdfb11",
295
+ "sshfp_ecdsa": "SSHFP 3 1 7fc0ef4bb2d2d14db8fc0bc0b1b97a9d83c6dc17\nSSHFP 3 2 a0b01ecd2461ed45e0b51ebec48f79957a9710c3ec441cde0e6c4e5d8939c15e",
296
+ "sshfp_rsa": "SSHFP 1 1 20cdd84628cfad3edff17edf9ce3c2f7f1756f41\nSSHFP 1 2 f48e7e96ed7708c6225367ada2a29309f159a12443eeaed6c86efee0660f3f78",
297
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC2nt/gDBidRKDNUmDDThXA+mMWQxq83odOXzx4/3NHMMfIfu3nuvcCaTI+Tp1EiNcbb6Q2ummoGdJpCXT6/W4cjfluuun1rBDeQzzFfthdBAasNKbSCy+cYKwda0zfP9X4Az0SqsbHM5DekNS0w0stCB+L5qqlhaKyunyid2PaeLfSalP5RbcAxGSy5ijLNcAZqbuNOEiq1v0IIySCPplvzvEv//Ht8PhPhXQiRRtKMeq5pAgqjLeUq5zRlXIVqTYfZPfa5tuteaZNxpRxbDvog7h57LWsHKZSjc8ND2ocoehIymNeL4kpFkLg6TMm6BEEOEks5Kue/SXdYUbHkRKN",
298
+ "system_uptime": {
299
+ "days": 0,
300
+ "hours": 0,
301
+ "seconds": 524,
302
+ "uptime": "0:08 hours"
303
+ },
304
+ "timezone": "UTC",
305
+ "uptime": "0:08 hours",
306
+ "uptime_days": 0,
307
+ "uptime_hours": 0,
308
+ "uptime_seconds": 524,
309
+ "uuid": "8B82075A-B071-4035-A96A-3B5D08F6841D",
310
+ "virtual": "virtualbox",
311
+ "clientcert": "sles11-sp3.lan.asio",
312
+ "clientversion": "4.8.2",
313
+ "clientnoop": false
314
+ },
315
+ "timestamp": "2017-03-11T09:11:13.768496995+00:00",
316
+ "expiration": "2017-03-11T09:41:13.768883472+00:00"
317
+ }
@@ -0,0 +1,353 @@
1
+ {
2
+ "name": "sles12-sp1.openstack.site",
3
+ "values": {
4
+ "aio_agent_build": "1.7.2",
5
+ "aio_agent_version": "1.7.2",
6
+ "architecture": "x86_64",
7
+ "augeas": {
8
+ "version": "1.4.0"
9
+ },
10
+ "augeasversion": "1.4.0",
11
+ "bios_release_date": "12/01/2006",
12
+ "bios_vendor": "innotek GmbH",
13
+ "bios_version": "VirtualBox",
14
+ "blockdevice_sda_model": "HARDDISK",
15
+ "blockdevice_sda_size": 53687091200,
16
+ "blockdevice_sda_vendor": "VBOX",
17
+ "blockdevices": "sda",
18
+ "boardmanufacturer": "Oracle Corporation",
19
+ "boardproductname": "VirtualBox",
20
+ "boardserialnumber": "0",
21
+ "chassistype": "Other",
22
+ "disks": {
23
+ "sda": {
24
+ "model": "HARDDISK",
25
+ "size": "50.00 GiB",
26
+ "size_bytes": 53687091200,
27
+ "vendor": "VBOX"
28
+ }
29
+ },
30
+ "dmi": {
31
+ "bios": {
32
+ "release_date": "12/01/2006",
33
+ "vendor": "innotek GmbH",
34
+ "version": "VirtualBox"
35
+ },
36
+ "board": {
37
+ "manufacturer": "Oracle Corporation",
38
+ "product": "VirtualBox",
39
+ "serial_number": "0"
40
+ },
41
+ "chassis": {
42
+ "type": "Other"
43
+ },
44
+ "manufacturer": "innotek GmbH",
45
+ "product": {
46
+ "name": "VirtualBox",
47
+ "serial_number": "0",
48
+ "uuid": "7733628A-3D10-4F0B-B6E2-DB6D0CBB8F7E"
49
+ }
50
+ },
51
+ "domain": "openstack.site",
52
+ "facterversion": "3.4.2",
53
+ "filesystems": "ext2,ext3,ext4",
54
+ "fqdn": "sles12-sp1.openstack.site",
55
+ "gid": "root",
56
+ "hardwareisa": "x86_64",
57
+ "hardwaremodel": "x86_64",
58
+ "hostname": "sles12-sp1",
59
+ "id": "root",
60
+ "identity": {
61
+ "gid": 0,
62
+ "group": "root",
63
+ "privileged": true,
64
+ "uid": 0,
65
+ "user": "root"
66
+ },
67
+ "interfaces": "eth0,eth1,lo",
68
+ "ipaddress": "10.0.2.15",
69
+ "ipaddress6": "fe80::216:3eff:fe72:f121",
70
+ "ipaddress6_eth0": "fe80::216:3eff:fe72:f121",
71
+ "ipaddress6_eth1": "fe80::a00:27ff:fe60:90e",
72
+ "ipaddress6_lo": "::1",
73
+ "ipaddress_eth0": "10.0.2.15",
74
+ "ipaddress_eth1": "192.168.33.15",
75
+ "ipaddress_lo": "127.0.0.1",
76
+ "is_pe": false,
77
+ "is_virtual": true,
78
+ "kernel": "Linux",
79
+ "kernelmajversion": "3.12",
80
+ "kernelrelease": "3.12.62-60.64.8-default",
81
+ "kernelversion": "3.12.62",
82
+ "load_averages": {
83
+ "15m": 0.05,
84
+ "1m": 0.0,
85
+ "5m": 0.02
86
+ },
87
+ "macaddress": "00:16:3e:72:f1:21",
88
+ "macaddress_eth0": "00:16:3e:72:f1:21",
89
+ "macaddress_eth1": "08:00:27:60:09:0e",
90
+ "manufacturer": "innotek GmbH",
91
+ "memory": {
92
+ "system": {
93
+ "available": "1.78 GiB",
94
+ "available_bytes": 1907027968,
95
+ "capacity": "68.84%",
96
+ "total": "5.70 GiB",
97
+ "total_bytes": 6119927808,
98
+ "used": "3.92 GiB",
99
+ "used_bytes": 4212899840
100
+ }
101
+ },
102
+ "memoryfree": "1.78 GiB",
103
+ "memoryfree_mb": 1818.68359375,
104
+ "memorysize": "5.70 GiB",
105
+ "memorysize_mb": 5836.41796875,
106
+ "mountpoints": {
107
+ "/": {
108
+ "available": "45.34 GiB",
109
+ "available_bytes": 48682504192,
110
+ "capacity": "7.64%",
111
+ "device": "/dev/sda1",
112
+ "filesystem": "ext3",
113
+ "options": [
114
+ "rw",
115
+ "relatime",
116
+ "data=ordered"
117
+ ],
118
+ "size": "49.09 GiB",
119
+ "size_bytes": 52709421056,
120
+ "used": "3.75 GiB",
121
+ "used_bytes": 4026916864
122
+ }
123
+ },
124
+ "mtu_eth0": 1500,
125
+ "mtu_eth1": 1500,
126
+ "mtu_lo": 65536,
127
+ "netmask": "255.255.255.0",
128
+ "netmask6": "ffff:ffff:ffff:ffff::",
129
+ "netmask6_eth0": "ffff:ffff:ffff:ffff::",
130
+ "netmask6_eth1": "ffff:ffff:ffff:ffff::",
131
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
132
+ "netmask_eth0": "255.255.255.0",
133
+ "netmask_eth1": "255.255.255.0",
134
+ "netmask_lo": "255.0.0.0",
135
+ "network": "10.0.2.0",
136
+ "network6": "fe80::",
137
+ "network6_eth0": "fe80::",
138
+ "network6_eth1": "fe80::",
139
+ "network6_lo": "::1",
140
+ "network_eth0": "10.0.2.0",
141
+ "network_eth1": "192.168.33.0",
142
+ "network_lo": "127.0.0.0",
143
+ "networking": {
144
+ "domain": "openstack.site",
145
+ "fqdn": "sles12-sp1.openstack.site",
146
+ "hostname": "sles12-sp1",
147
+ "interfaces": {
148
+ "eth0": {
149
+ "bindings": [
150
+ {
151
+ "address": "10.0.2.15",
152
+ "netmask": "255.255.255.0",
153
+ "network": "10.0.2.0"
154
+ }
155
+ ],
156
+ "bindings6": [
157
+ {
158
+ "address": "fe80::216:3eff:fe72:f121",
159
+ "netmask": "ffff:ffff:ffff:ffff::",
160
+ "network": "fe80::"
161
+ }
162
+ ],
163
+ "ip": "10.0.2.15",
164
+ "ip6": "fe80::216:3eff:fe72:f121",
165
+ "mac": "00:16:3e:72:f1:21",
166
+ "mtu": 1500,
167
+ "netmask": "255.255.255.0",
168
+ "netmask6": "ffff:ffff:ffff:ffff::",
169
+ "network": "10.0.2.0",
170
+ "network6": "fe80::"
171
+ },
172
+ "eth1": {
173
+ "bindings": [
174
+ {
175
+ "address": "192.168.33.15",
176
+ "netmask": "255.255.255.0",
177
+ "network": "192.168.33.0"
178
+ }
179
+ ],
180
+ "bindings6": [
181
+ {
182
+ "address": "fe80::a00:27ff:fe60:90e",
183
+ "netmask": "ffff:ffff:ffff:ffff::",
184
+ "network": "fe80::"
185
+ }
186
+ ],
187
+ "ip": "192.168.33.15",
188
+ "ip6": "fe80::a00:27ff:fe60:90e",
189
+ "mac": "08:00:27:60:09:0e",
190
+ "mtu": 1500,
191
+ "netmask": "255.255.255.0",
192
+ "netmask6": "ffff:ffff:ffff:ffff::",
193
+ "network": "192.168.33.0",
194
+ "network6": "fe80::"
195
+ },
196
+ "lo": {
197
+ "bindings": [
198
+ {
199
+ "address": "127.0.0.1",
200
+ "netmask": "255.0.0.0",
201
+ "network": "127.0.0.0"
202
+ }
203
+ ],
204
+ "bindings6": [
205
+ {
206
+ "address": "::1",
207
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
208
+ "network": "::1"
209
+ }
210
+ ],
211
+ "ip": "127.0.0.1",
212
+ "ip6": "::1",
213
+ "mtu": 65536,
214
+ "netmask": "255.0.0.0",
215
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
216
+ "network": "127.0.0.0",
217
+ "network6": "::1"
218
+ }
219
+ },
220
+ "ip": "10.0.2.15",
221
+ "ip6": "fe80::216:3eff:fe72:f121",
222
+ "mac": "00:16:3e:72:f1:21",
223
+ "mtu": 1500,
224
+ "netmask": "255.255.255.0",
225
+ "netmask6": "ffff:ffff:ffff:ffff::",
226
+ "network": "10.0.2.0",
227
+ "network6": "fe80::",
228
+ "primary": "eth0"
229
+ },
230
+ "operatingsystem": "SLES",
231
+ "operatingsystemmajrelease": "12",
232
+ "operatingsystemrelease": "12.1",
233
+ "os": {
234
+ "architecture": "x86_64",
235
+ "family": "Suse",
236
+ "hardware": "x86_64",
237
+ "name": "SLES",
238
+ "release": {
239
+ "full": "12.1",
240
+ "major": "12",
241
+ "minor": "1"
242
+ },
243
+ "selinux": {
244
+ "enabled": false
245
+ }
246
+ },
247
+ "osfamily": "Suse",
248
+ "partitions": {
249
+ "/dev/sda1": {
250
+ "filesystem": "ext3",
251
+ "label": "ROOT",
252
+ "mount": "/",
253
+ "partuuid": "3d2745bf-01",
254
+ "size": "50.00 GiB",
255
+ "size_bytes": 53686042624,
256
+ "uuid": "dcf2494f-2b02-466b-aa2c-9e7c01bdbdd7"
257
+ }
258
+ },
259
+ "path": "/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games",
260
+ "pe_build": "2016.4.3",
261
+ "pe_concat_basedir": "/opt/puppetlabs/puppet/cache/pe_concat",
262
+ "pe_server_version": "2016.4.3",
263
+ "physicalprocessorcount": 1,
264
+ "platform_symlink_writable": true,
265
+ "platform_tag": "sles-12-x86_64",
266
+ "processor0": "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
267
+ "processor1": "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
268
+ "processor2": "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
269
+ "processor3": "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
270
+ "processorcount": 4,
271
+ "processors": {
272
+ "count": 4,
273
+ "isa": "x86_64",
274
+ "models": [
275
+ "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
276
+ "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
277
+ "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz",
278
+ "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz"
279
+ ],
280
+ "physicalcount": 1
281
+ },
282
+ "productname": "VirtualBox",
283
+ "puppet_files_dir_present": false,
284
+ "puppetversion": "4.7.1",
285
+ "ruby": {
286
+ "platform": "x86_64-linux",
287
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
288
+ "version": "2.1.9"
289
+ },
290
+ "rubyplatform": "x86_64-linux",
291
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
292
+ "rubyversion": "2.1.9",
293
+ "selinux": false,
294
+ "serialnumber": "0",
295
+ "ssh": {
296
+ "dsa": {
297
+ "fingerprints": {
298
+ "sha1": "SSHFP 2 1 4c29775fbdf4c3c3899d036510ced3a377023cd1",
299
+ "sha256": "SSHFP 2 2 6b21d41b5df2640a9b710884c10d8f87dbc2944e639a5e46273bfb4aa76522c5"
300
+ },
301
+ "key": "AAAAB3NzaC1kc3MAAACBAK+haL65A0ALR7nw0X5re26C23ncFgxvedmnE2iUbjbeM7F//EBeA4Gn3mjbtPkTVDu61Tfl45tCHKHa36l2w5rC2mt71yMGJQoHeDtA4ddO2uA+B19fmkfhAICtjrvYc8vj5jwwcVmmP0FUasIunM0/9uAhZ+97E7+I91bPhp/RAAAAFQDNpq248quBrulsV6qkoYv00XODZwAAAIBAe5mwq4iS3DH5ABJSJoGGrWZBrY2ZPYcpzqStDN12I+lNL0HqoZF3dRdXUiiAl0qGpO9vtaTtrJzQuahTpB0k/HkMP042Kqa/hhkobuPlvu5Xuuj5cNzLuditXn5ScKs8BXaoh6mvOAAIS1jY9BZ+dGxZfygvjjtcAWHWCVAxoQAAAIACBpgms8yMLnEd5qY7kF5hqO7DNJ6Q0xyFOB5zWKhj1nbCUmxKBiF2XjXZGZc+6LD0Hg1fs1EiW9ed9g7F7/7LLtlgzeJPIg8vuqsRvCj3JkwFDmGHfA2Z0EYU4sn8dmw1RLeoWY0fCaPM+x00hSa36VMMXAHEd2MCUPYTTiMmaQ=="
302
+ },
303
+ "ecdsa": {
304
+ "fingerprints": {
305
+ "sha1": "SSHFP 3 1 d1c37b4313689a7afe74eead74ea53699234505b",
306
+ "sha256": "SSHFP 3 2 60246f4a32257320dc990997d7373eede1667aaead6ea95baa32fa07fec824cd"
307
+ },
308
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGnNFUni4th60YWWMAHbe9fByciHV0mswnuc2CzGSzziVAUbsSKmJktAHNmcYKssztsMpBPsPMLM9j8ceD59jmI="
309
+ },
310
+ "ed25519": {
311
+ "fingerprints": {
312
+ "sha1": "SSHFP 4 1 37cbc33c742e357446b82735b529cd0d6dd5c459",
313
+ "sha256": "SSHFP 4 2 2228771c3a8436da3436b331f293b2394f8e24f12cf6590d75d5077b37e7cacf"
314
+ },
315
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIB9nMKgF7UeoNyuUwz3ifm0M4QjlEjGNSLxvFm6xXVhx"
316
+ },
317
+ "rsa": {
318
+ "fingerprints": {
319
+ "sha1": "SSHFP 1 1 d1ccfdf4e0afc38d26ab2d3b44f37c1ec7eefe51",
320
+ "sha256": "SSHFP 1 2 f492d7edf7cc14c5e8472aa10aa6e7cf049032f9a52584e07c10101af807fe38"
321
+ },
322
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDjeTmNl1i5lo2aP6quMk+/thACsrOK50twMge6KfZ6J1Q6ncsjjpZNA745pgvUJuQx2STl2vCMT3aTbGIrw+FXGNbfRWRa9pUUTJE82mgcPnYsMqWo+JQwuJOjhdaDlV8r7U197ZIsOM+eo2CBYYUP/ZAFbGzFL4Wb29hld1MiHSACcRC7HozgAxPCUyOZ0mcckofFIW/XO289UmEJj27RSnM3YyaOXxg+xv7tjxjLaq7j4HlFR5HZt4OYdzoHMTSwexcNtyM8TyNu9OKSGSYuQNWxghltrElP+Hg1Zgw8Bxhyf+a9KqF9/Q7Z0zWvwoJE3II9kHij2M73eiadZPj/"
323
+ }
324
+ },
325
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBAK+haL65A0ALR7nw0X5re26C23ncFgxvedmnE2iUbjbeM7F//EBeA4Gn3mjbtPkTVDu61Tfl45tCHKHa36l2w5rC2mt71yMGJQoHeDtA4ddO2uA+B19fmkfhAICtjrvYc8vj5jwwcVmmP0FUasIunM0/9uAhZ+97E7+I91bPhp/RAAAAFQDNpq248quBrulsV6qkoYv00XODZwAAAIBAe5mwq4iS3DH5ABJSJoGGrWZBrY2ZPYcpzqStDN12I+lNL0HqoZF3dRdXUiiAl0qGpO9vtaTtrJzQuahTpB0k/HkMP042Kqa/hhkobuPlvu5Xuuj5cNzLuditXn5ScKs8BXaoh6mvOAAIS1jY9BZ+dGxZfygvjjtcAWHWCVAxoQAAAIACBpgms8yMLnEd5qY7kF5hqO7DNJ6Q0xyFOB5zWKhj1nbCUmxKBiF2XjXZGZc+6LD0Hg1fs1EiW9ed9g7F7/7LLtlgzeJPIg8vuqsRvCj3JkwFDmGHfA2Z0EYU4sn8dmw1RLeoWY0fCaPM+x00hSa36VMMXAHEd2MCUPYTTiMmaQ==",
326
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGnNFUni4th60YWWMAHbe9fByciHV0mswnuc2CzGSzziVAUbsSKmJktAHNmcYKssztsMpBPsPMLM9j8ceD59jmI=",
327
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIB9nMKgF7UeoNyuUwz3ifm0M4QjlEjGNSLxvFm6xXVhx",
328
+ "sshfp_dsa": "SSHFP 2 1 4c29775fbdf4c3c3899d036510ced3a377023cd1\nSSHFP 2 2 6b21d41b5df2640a9b710884c10d8f87dbc2944e639a5e46273bfb4aa76522c5",
329
+ "sshfp_ecdsa": "SSHFP 3 1 d1c37b4313689a7afe74eead74ea53699234505b\nSSHFP 3 2 60246f4a32257320dc990997d7373eede1667aaead6ea95baa32fa07fec824cd",
330
+ "sshfp_ed25519": "SSHFP 4 1 37cbc33c742e357446b82735b529cd0d6dd5c459\nSSHFP 4 2 2228771c3a8436da3436b331f293b2394f8e24f12cf6590d75d5077b37e7cacf",
331
+ "sshfp_rsa": "SSHFP 1 1 d1ccfdf4e0afc38d26ab2d3b44f37c1ec7eefe51\nSSHFP 1 2 f492d7edf7cc14c5e8472aa10aa6e7cf049032f9a52584e07c10101af807fe38",
332
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDjeTmNl1i5lo2aP6quMk+/thACsrOK50twMge6KfZ6J1Q6ncsjjpZNA745pgvUJuQx2STl2vCMT3aTbGIrw+FXGNbfRWRa9pUUTJE82mgcPnYsMqWo+JQwuJOjhdaDlV8r7U197ZIsOM+eo2CBYYUP/ZAFbGzFL4Wb29hld1MiHSACcRC7HozgAxPCUyOZ0mcckofFIW/XO289UmEJj27RSnM3YyaOXxg+xv7tjxjLaq7j4HlFR5HZt4OYdzoHMTSwexcNtyM8TyNu9OKSGSYuQNWxghltrElP+Hg1Zgw8Bxhyf+a9KqF9/Q7Z0zWvwoJE3II9kHij2M73eiadZPj/",
333
+ "staging_http_get": "curl",
334
+ "system_uptime": {
335
+ "days": 1,
336
+ "hours": 41,
337
+ "seconds": 148058,
338
+ "uptime": "1 day"
339
+ },
340
+ "timezone": "UTC",
341
+ "uptime": "1 day",
342
+ "uptime_days": 1,
343
+ "uptime_hours": 41,
344
+ "uptime_seconds": 148058,
345
+ "uuid": "7733628A-3D10-4F0B-B6E2-DB6D0CBB8F7E",
346
+ "virtual": "virtualbox",
347
+ "clientcert": "sles12-sp1.openstack.site",
348
+ "clientversion": "4.7.1",
349
+ "clientnoop": false
350
+ },
351
+ "timestamp": "2017-03-09T04:18:08.432957418+00:00",
352
+ "expiration": "2017-03-09T04:48:08.433219771+00:00"
353
+ }
@@ -1,6 +1,9 @@
1
1
  class Onceover
2
2
  class Beaker
3
+ # WARNING: All of this functionality is deprecated. It will be left around
4
+ # until there is something to replace it, but don't rely on it
3
5
  def self.facts_to_vagrant_box(facts)
6
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
4
7
  # Gets the most similar vagrant box to the facts set provided, will accept a single fact
5
8
  # se or an array
6
9
 
@@ -55,6 +58,8 @@ class Onceover
55
58
  # commands to run when we do stuff. Personally I would prefer beaker to detect the
56
59
  # platform as it would not be that hard, especially once puppet is installed, oh well.
57
60
  def self.facts_to_platform(facts)
61
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
62
+
58
63
  if facts.is_a?(Array)
59
64
  returnval = []
60
65
  facts.each do |fact|
@@ -101,6 +106,8 @@ class Onceover
101
106
 
102
107
  # This little method will deploy a Controlrepo object to a host, just using r10k deploy
103
108
  def self.deploy_controlrepo_on(host, repo = Onceover::Controlrepo.new())
109
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
110
+
104
111
  require 'beaker-rspec'
105
112
  require 'onceover/controlrepo'
106
113
 
@@ -137,6 +144,8 @@ class Onceover
137
144
  # all of our nodes, this could be a lot of vms and having them all running at once
138
145
  # would be a real kick in the dick for whatever system was running it.
139
146
  def self.provision_and_test(host,puppet_class,opts = {},repo = Onceover::Controlrepo.new)
147
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
148
+
140
149
  opts = {:runs_before_idempotency => 1}.merge(opts)
141
150
  opts = {:check_idempotency => true}.merge(opts)
142
151
  opts = {:deploy_controlrepo => true}.merge(opts)
@@ -177,10 +186,14 @@ class Onceover
177
186
  end
178
187
 
179
188
  def self.match_indentation(test,logger)
189
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
190
+
180
191
  logger.line_prefix = ' ' * (test.metadata[:scoped_id].split(':').count - 1)
181
192
  end
182
193
 
183
194
  def self.host_create(name, nodes)
195
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
196
+
184
197
  require 'beaker/network_manager'
185
198
 
186
199
  current_opts = {}
data/lib/onceover/cli.rb CHANGED
@@ -44,3 +44,4 @@ require 'onceover/cli/show'
44
44
  require 'onceover/cli/run'
45
45
  require 'onceover/cli/init'
46
46
  require 'onceover/cli/update'
47
+ require 'onceover/cli/plugins'
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+
3
+ # Get all of the gems that start with onceover-
4
+ plugins = Gem::Specification.group_by{ |g| g.name }.keep_if do |name,details|
5
+ name =~ /^onceover-.*$/
6
+ end.keys
7
+
8
+ plugins.each do |plugin|
9
+ require plugin.gsub('-','/')
10
+ end
@@ -58,6 +58,8 @@ This includes deploying using r10k and running all custom tests.
58
58
  summary 'Runs acceptance tests'
59
59
 
60
60
  run do |opts, args, cmd|
61
+ warn "[DEPRECATION] Acceptance testing is deprecated due to the removal of Beaker dependencies"
62
+ warn "[DEPRECATION] Appeptance testing will be replaced by a more pluggable framework in the future, if you have ideas as to how this should be done please submit a ticket."
61
63
  repo = Onceover::Controlrepo.new(opts)
62
64
  runner = Onceover::Runner.new(repo,Onceover::TestConfig.new(repo.onceover_yaml,opts),:acceptance)
63
65
  runner.prepare!
@@ -411,7 +411,8 @@ class Onceover
411
411
  require 'colored'
412
412
 
413
413
  Onceover::Controlrepo.init_write_file(generate_onceover_yaml(repo),repo.onceover_yaml)
414
- Onceover::Controlrepo.init_write_file(generate_nodesets(repo),repo.nodeset_file)
414
+ # [DEPRECATION] Writing nodesets is deprecated due to the removal of Beaker"
415
+ #Onceover::Controlrepo.init_write_file(generate_nodesets(repo),repo.nodeset_file)
415
416
  Onceover::Controlrepo.init_write_file(Onceover::Controlrepo.evaluate_template('pre_conditions_README.md.erb',binding),File.expand_path('./pre_conditions/README.md',repo.spec_dir))
416
417
  Onceover::Controlrepo.init_write_file(Onceover::Controlrepo.evaluate_template('factsets_README.md.erb',binding),File.expand_path('./factsets/README.md',repo.spec_dir))
417
418
  Onceover::Controlrepo.init_write_file(Onceover::Controlrepo.evaluate_template('Rakefile.erb',binding),File.expand_path('./Rakefile',repo.root))
@@ -440,6 +441,8 @@ class Onceover
440
441
  end
441
442
 
442
443
  def self.generate_nodesets(repo)
444
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
445
+
443
446
  require 'onceover/beaker'
444
447
  require 'net/http'
445
448
  require 'json'
@@ -24,7 +24,7 @@ module Onceover::Logger
24
24
 
25
25
  $logger = Logging.logger['Colors']
26
26
  $logger.add_appenders 'stdout'
27
- $logger.level = :warn
27
+ $logger.level = :info
28
28
  end
29
29
  $logger
30
30
  end
@@ -43,6 +43,8 @@ end
43
43
 
44
44
 
45
45
  task :generate_nodesets do
46
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
47
+
46
48
  require 'onceover/beaker'
47
49
  require 'net/http'
48
50
  require 'json'
@@ -82,41 +84,3 @@ task :generate_nodesets do
82
84
  end
83
85
 
84
86
  end
85
-
86
- task :controlrepo_autotest_prep do
87
- require 'onceover/testconfig'
88
- require 'onceover/runner'
89
- @repo = Onceover::Controlrepo.new
90
- # TODO: This should be getting the location of controlrepo.yaml from @repo
91
- @config = Onceover::TestConfig.new("#{@repo.spec_dir}/controlrepo.yaml")
92
-
93
- @runner = Onceover::Runner.new(@repo, @config)
94
- @runner.prepare!
95
- end
96
-
97
- task :controlrepo_autotest_spec do
98
- @runner.run_spec!
99
- end
100
-
101
- task :controlrepo_autotest_acceptance do
102
- @runner.run_acceptance!
103
- end
104
-
105
- task :controlrepo_spec => [
106
- :controlrepo_autotest_prep,
107
- :controlrepo_autotest_spec
108
- ]
109
-
110
- task :controlrepo_acceptance => [
111
- :controlrepo_autotest_prep,
112
- :controlrepo_autotest_acceptance
113
- ]
114
-
115
- task :controlrepo_temp_create do
116
- require 'onceover/testconfig'
117
- repo = Onceover::Controlrepo.new
118
- config = Onceover::TestConfig.new("#{repo.spec_dir}/controlrepo.yaml")
119
- FileUtils.rm_rf(repo.tempdir)
120
- # Deploy r10k to a temp dir
121
- config.r10k_deploy_local(repo)
122
- end
@@ -87,6 +87,8 @@ class Onceover
87
87
  end
88
88
 
89
89
  def run_acceptance!
90
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
91
+
90
92
  Dir.chdir(@repo.tempdir) do
91
93
  #`bundle install --binstubs`
92
94
  #`bin/rake spec_standalone`
@@ -134,6 +134,8 @@ class Onceover
134
134
  end
135
135
 
136
136
  def verify_acceptance_test(controlrepo,test)
137
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
138
+
137
139
  require 'yaml'
138
140
  nodeset = YAML.load_file(controlrepo.nodeset_file)
139
141
  test.nodes.each do |node|
@@ -230,6 +232,8 @@ class Onceover
230
232
  end
231
233
 
232
234
  def write_acceptance_tests(location, tests)
235
+ warn "[DEPRECATION] #{__method__} is deprecated due to the removal of Beaker"
236
+
233
237
  File.write("#{location}/acceptance_spec.rb",Onceover::Controlrepo.evaluate_template('acceptance_test_spec.rb.erb',binding))
234
238
  end
235
239
 
data/onceover.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "onceover"
6
- s.version = "3.1.1"
6
+ s.version = "3.2.0"
7
7
  s.authors = ["Dylan Ratcliffe"]
8
8
  s.email = ["dylan.ratcliffe@puppet.com"]
9
9
  s.homepage = "https://github.com/dylanratcliffe/onceover"
@@ -19,13 +19,11 @@ Gem::Specification.new do |s|
19
19
  # Runtime dependencies, but also probably dependencies of requiring projects
20
20
  s.add_runtime_dependency 'rake', '>= 10.0.0'
21
21
  s.add_runtime_dependency 'json', '>= 1.8.2'
22
- s.add_runtime_dependency 'beaker-rspec'
23
22
  s.add_runtime_dependency 'rspec-puppet', ">= 2.4.0"
24
23
  s.add_runtime_dependency 'parallel_tests', ">= 2.0.0"
25
24
  s.add_runtime_dependency 'puppetlabs_spec_helper', ">= 0.4.0"
26
25
  s.add_runtime_dependency 'rspec-puppet-utils', '>= 2.0.0'
27
26
  s.add_runtime_dependency 'rspec', '>= 3.0.0'
28
- s.add_runtime_dependency 'bundler'
29
27
  s.add_runtime_dependency 'r10k', '>=2.1.0'
30
28
  s.add_runtime_dependency 'puppet', '>=3.4.0'
31
29
  s.add_runtime_dependency 'git'
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.1.1
4
+ version: 3.2.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: 2017-03-04 00:00:00.000000000 Z
11
+ date: 2017-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.8.2
41
- - !ruby/object:Gem::Dependency
42
- name: beaker-rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec-puppet
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +108,6 @@ dependencies:
122
108
  - - ">="
123
109
  - !ruby/object:Gem::Version
124
110
  version: 3.0.0
125
- - !ruby/object:Gem::Dependency
126
- name: bundler
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :runtime
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
111
  - !ruby/object:Gem::Dependency
140
112
  name: r10k
141
113
  requirement: !ruby/object:Gem::Requirement
@@ -301,6 +273,8 @@ files:
301
273
  - factsets/Debian-6.0.10-64.json
302
274
  - factsets/Debian-7.8-32.json
303
275
  - factsets/Debian-7.8-64.json
276
+ - factsets/SLES-11.3-64.json
277
+ - factsets/SLES-12.1-64.json
304
278
  - factsets/Ubuntu-12.04-32.json
305
279
  - factsets/Ubuntu-12.04-64.json
306
280
  - factsets/Ubuntu-14.04-32.json
@@ -314,6 +288,7 @@ files:
314
288
  - lib/onceover/class.rb
315
289
  - lib/onceover/cli.rb
316
290
  - lib/onceover/cli/init.rb
291
+ - lib/onceover/cli/plugins.rb
317
292
  - lib/onceover/cli/run.rb
318
293
  - lib/onceover/cli/show.rb
319
294
  - lib/onceover/cli/update.rb