puppetlabs_spec_helper 6.0.1 → 6.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -10
- data/lib/puppetlabs_spec_helper/module_spec_helper.rb +0 -1
- data/lib/puppetlabs_spec_helper/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc893e85e31e78d6f0da8acd4b71925968e9bd1ae9ee5fa28d17eafb9a45fc7c
|
4
|
+
data.tar.gz: c7e35da9a0754addb8e507fbd9a5d497cd345d31689bc2f94a974b6a38d20684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7de40c8237bbc930fae0ae6680b82728ed38319069a9e00a5910dc1d5b8ffd6db3d39b37e800ac26ff35a615a7aa5231673cb44a29a3d9ed930d3eeb85e533b0
|
7
|
+
data.tar.gz: 2e8ad264919583bd4522e53a2d18d3baa336dda98b2ab019fc97f6696950e3b212fbd832235428ce8d4075ed6a830e29c290d228ea0f66155c97d3cee3359a0a
|
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
Puppet Labs Spec Helper
|
2
2
|
=======================
|
3
3
|
|
4
|
+
[![Code Owners](https://img.shields.io/badge/owners-DevX--team-blue)](https://github.com/puppetlabs/puppetlabs_spec_helper/blob/main/CODEOWNERS)
|
5
|
+
![ci](https://github.com/puppetlabs/puppetlabs_spec_helper/actions/workflows/ci.yml/badge.svg)
|
6
|
+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/puppetlabs/puppetlabs_spec_helper)
|
7
|
+
|
4
8
|
The Short Version
|
5
9
|
-----------------
|
6
10
|
|
@@ -230,8 +234,8 @@ Add `firewall` and `stdlib` as required module fixtures:
|
|
230
234
|
```yaml
|
231
235
|
fixtures:
|
232
236
|
repositories:
|
233
|
-
firewall: "
|
234
|
-
stdlib: "
|
237
|
+
firewall: "https://github.com/puppetlabs/puppetlabs-firewall.git"
|
238
|
+
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git"
|
235
239
|
```
|
236
240
|
|
237
241
|
Put a supplementary repository at a different location
|
@@ -239,8 +243,8 @@ Put a supplementary repository at a different location
|
|
239
243
|
```yaml
|
240
244
|
fixtures:
|
241
245
|
repositories:
|
242
|
-
firewall: "
|
243
|
-
stdlib: "
|
246
|
+
firewall: "https://github.com/puppetlabs/puppetlabs-firewall.git"
|
247
|
+
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git"
|
244
248
|
control_repo:
|
245
249
|
repo: "https://github.com/puppetlabs/control-repo"
|
246
250
|
target: "spec/fixtures/control_repos"
|
@@ -251,9 +255,9 @@ Specify that the git tag `2.4.2` of `stdlib` should be checked out:
|
|
251
255
|
```yaml
|
252
256
|
fixtures:
|
253
257
|
repositories:
|
254
|
-
firewall: "
|
258
|
+
firewall: "https://github.com/puppetlabs/puppetlabs-firewall.git"
|
255
259
|
stdlib:
|
256
|
-
repo: "
|
260
|
+
repo: "https://github.com/puppetlabs/puppetlabs-stdlib.git"
|
257
261
|
ref: "2.6.0"
|
258
262
|
```
|
259
263
|
|
@@ -263,7 +267,7 @@ Only install the `yumrepo_core` module when testing against Puppet 7 or greater:
|
|
263
267
|
fixtures:
|
264
268
|
repositories:
|
265
269
|
yumrepo_core:
|
266
|
-
repo: "
|
270
|
+
repo: "https://github.com/puppetlabs/puppetlabs-yumrepo_core.git"
|
267
271
|
puppet_version: ">= 6.0.0"
|
268
272
|
```
|
269
273
|
|
@@ -273,7 +277,7 @@ Move manifests and siblings to root directory when they are inside a `code` dire
|
|
273
277
|
fixtures:
|
274
278
|
repositories:
|
275
279
|
stdlib:
|
276
|
-
repo: "
|
280
|
+
repo: "https://github.com/puppetlabs/puppetlabs-extradirectory.git"
|
277
281
|
subdir: "code"
|
278
282
|
```
|
279
283
|
|
@@ -299,7 +303,7 @@ fixtures:
|
|
299
303
|
flags: "--module_repository https://my_repo.com"
|
300
304
|
repositories:
|
301
305
|
firewall:
|
302
|
-
repo: "
|
306
|
+
repo: "https://github.com/puppetlabs/puppetlabs-firewall.git"
|
303
307
|
ref: "2.6.0"
|
304
308
|
flags: "--verbose"
|
305
309
|
```
|
@@ -317,7 +321,7 @@ fixtures:
|
|
317
321
|
ref: "2.6.0"
|
318
322
|
repositories:
|
319
323
|
firewall:
|
320
|
-
repo: "
|
324
|
+
repo: "https://github.com/puppetlabs/puppetlabs-firewall.git"
|
321
325
|
ref: "2.6.0"
|
322
326
|
```
|
323
327
|
|
@@ -67,7 +67,6 @@ RSpec.configure do |c|
|
|
67
67
|
|
68
68
|
c.environmentpath = spec_path
|
69
69
|
c.module_path = module_path
|
70
|
-
c.manifest_dir = File.join(fixture_path, 'manifests')
|
71
70
|
|
72
71
|
# https://github.com/puppetlabs/rspec-puppet#strict_variables
|
73
72
|
c.strict_variables = ENV['STRICT_VARIABLES'] != 'no'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetlabs_spec_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet, Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mocha
|
@@ -49,16 +49,16 @@ dependencies:
|
|
49
49
|
name: puppet-lint
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '4.0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '4.0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: puppet-syntax
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,16 +91,16 @@ dependencies:
|
|
91
91
|
name: rspec-puppet
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '4.0'
|
97
97
|
type: :runtime
|
98
98
|
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '4.0'
|
104
104
|
description: Contains rake tasks and a standard spec_helper for running spec tests
|
105
105
|
on puppet modules.
|
106
106
|
email:
|