puppetlabs_spec_helper 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +4 -3
- data/lib/puppetlabs_spec_helper/module_spec_helper.rb +1 -1
- data/lib/puppetlabs_spec_helper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51b4fc08aa43ea4df29d204be5a86f0e7d3f2015
|
4
|
+
data.tar.gz: d760da22c37eb44ba79b32b005e2e90c3330b1eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f68c4e945087d2dae2f75a8f9bcc1df10992604958be56874d88dc1f51284e00b16989bf73aafa41b3fd83dcfbc923cb3e2c58994e69bf386757be2e2e9bf67
|
7
|
+
data.tar.gz: e910986a66e093ec80a4d5073c6498f6ed4552a3282a52e6b0483dd1997a2c3347e415af3e4248fbe06c00d548d19dc6b05fcb6baf5ea6b2f76a8dac5c949223
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [1.2.2]
|
6
|
+
### Summary:
|
7
|
+
|
8
|
+
Dominic Cleal reported and fixed an issue with the STRICT_VARIABLES setting on puppet versions before 3.5.
|
9
|
+
|
5
10
|
## [1.2.1]
|
6
11
|
### Summary:
|
7
12
|
|
@@ -276,6 +281,7 @@ compatible yet.
|
|
276
281
|
* Initial release
|
277
282
|
|
278
283
|
[unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/1.1.1...master
|
284
|
+
[1.2.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/1.2.1...1.2.2
|
279
285
|
[1.2.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/1.2.0...1.2.1
|
280
286
|
[1.2.0]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/1.1.1...1.2.0
|
281
287
|
[1.1.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/1.1.0...1.1.1
|
data/README.md
CHANGED
@@ -145,9 +145,10 @@ variables for the spec run. These are:
|
|
145
145
|
* ``FUTURE_PARSER`` - set to "yes" to enable the [future parser](http://docs.puppetlabs.com/puppet/latest/reference/experiments_future.html),
|
146
146
|
the equivalent of setting [parser=future](http://docs.puppetlabs.com/references/latest/configuration.html#parser)
|
147
147
|
in puppet.conf.
|
148
|
-
* ``STRICT_VARIABLES`` - set to "
|
149
|
-
|
150
|
-
|
148
|
+
* ``STRICT_VARIABLES`` - set to "yes" to enable set to strict variable checking when using Puppet versions between 3.5 and 4.0;
|
149
|
+
set to "no" to disable strict variable checking on Puppet versions 4.0, and later.
|
150
|
+
See [strict_variables](http://docs.puppetlabs.com/references/latest/configuration.html#strictvariables)
|
151
|
+
in puppet.conf for details.
|
151
152
|
* ``ORDERING`` - set to the desired ordering method ("title-hash", "manifest", or "random")
|
152
153
|
to set the order of unrelated resources when applying a catalog. Leave unset for the default
|
153
154
|
behavior, currently "random". This is equivalent to setting [ordering](http://docs.puppetlabs.com/references/latest/configuration.html#ordering)
|
@@ -32,7 +32,7 @@ RSpec.configure do |c|
|
|
32
32
|
Puppet.settings[:stringify_facts] = false if ENV['STRINGIFY_FACTS'] == 'no'
|
33
33
|
Puppet.settings[:trusted_node_data] = true if ENV['TRUSTED_NODE_DATA'] == 'yes'
|
34
34
|
end
|
35
|
-
Puppet.settings[:strict_variables] =
|
35
|
+
Puppet.settings[:strict_variables] = true if ENV['STRICT_VARIABLES'] == 'yes' || (Puppet.version.to_f >= 4.0 && ENV['STRICT_VARIABLES'] != 'no')
|
36
36
|
Puppet.settings[:ordering] = ENV['ORDERING'] if ENV['ORDERING']
|
37
37
|
end
|
38
38
|
end
|
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: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet, Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mocha
|