puppetlabs_spec_helper 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ODRhM2NjMmRkMTA5ZTMxMzEwMjdhZDI0MmE3MzRiMmM3Y2NkMWFjZg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MDhkZjY5NmZlY2FhMjAzY2E4YWZlODlmMzEyNWVjZDRjMjFkNGFmYg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YmI3NzE2Njk0ODMyZGRkMzMyZTM3NzI4MGFjNzBiNjJhYzJlNjZmNDMzZTU2
|
|
10
|
+
NThmMWYwOWU4NDFkMzU4YzQ1YzBlY2NmZjFkMjk5YjFiNTkzZDYwMjRjNDk3
|
|
11
|
+
ZDlkM2E4NzllZDNhMWZlMjJlMmJmMzUyOWNjN2I0NjMyMjJkYmM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NDlhNGU0OTIxZmNlM2I3MjJjMDY0MDEwNDhiOGE5ZjAyZGNjNmYzMjAyYWZh
|
|
14
|
+
YzVlY2M5N2IzN2Q3YTQ0OGMyZTgzNDE5MWZkN2FkMjI4YWU3NzM0MDZmZDVl
|
|
15
|
+
YThkMWM3NmUwODQ0ZmVjYzhmMWE2NTg2YjkzMzMxMzg4YzdjNzE=
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
|
+
## [0.10.3] - 2015-05-11
|
|
6
|
+
### Summary:
|
|
7
|
+
A bugfix for puppet 3 and puppet 4 tests being able to run with the same environment variables.
|
|
8
|
+
|
|
9
|
+
### Fixed:
|
|
10
|
+
- Allow `STRINGIFY_FACTS` and `TRUSTED_NODE_DATA` to be set on Puppet 4 as noop instead of fail
|
|
11
|
+
- Fix linting to be more like approved module criteria
|
|
12
|
+
|
|
5
13
|
## [0.10.2] - 2015-04-14
|
|
6
14
|
### Summary:
|
|
7
15
|
A bugfix for puppet 4 coming out, which manages modulepath and environments differently.
|
|
@@ -33,9 +33,12 @@ RSpec.configure do |c|
|
|
|
33
33
|
|
|
34
34
|
c.before :each do
|
|
35
35
|
Puppet.features.stubs(:root?).returns(true)
|
|
36
|
+
# stringify_facts and trusted_node_data were removed in puppet4
|
|
37
|
+
if Puppet.version.to_f < 4.0
|
|
38
|
+
Puppet.settings[:stringify_facts] = false if ENV['STRINGIFY_FACTS'] == 'no'
|
|
39
|
+
Puppet.settings[:trusted_node_data] = true if ENV['TRUSTED_NODE_DATA'] == 'yes'
|
|
40
|
+
end
|
|
36
41
|
Puppet.settings[:strict_variables] = true if ENV['STRICT_VARIABLES'] == 'yes'
|
|
37
|
-
Puppet.settings[:stringify_facts] = false if ENV['STRINGIFY_FACTS'] == 'no'
|
|
38
|
-
Puppet.settings[:trusted_node_data] = true if ENV['TRUSTED_NODE_DATA'] == 'yes'
|
|
39
42
|
Puppet.settings[:ordering] = ENV['ORDERING'] if ENV['ORDERING']
|
|
40
43
|
end
|
|
41
44
|
end
|
|
@@ -210,15 +210,21 @@ task :clean do
|
|
|
210
210
|
FileUtils.rm_rf("pkg/")
|
|
211
211
|
end
|
|
212
212
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
213
|
+
require 'puppet-lint/tasks/puppet-lint'
|
|
214
|
+
# Must clear as it will not override the existing puppet-lint rake task since we require to import for
|
|
215
|
+
# the PuppetLint::RakeTask
|
|
216
|
+
Rake::Task[:lint].clear
|
|
217
|
+
# Relative is not able to be set within the context of PuppetLint::RakeTask
|
|
218
|
+
PuppetLint.configuration.relative = true
|
|
219
|
+
PuppetLint::RakeTask.new(:lint) do |config|
|
|
220
|
+
config.fail_on_warnings = true
|
|
221
|
+
config.disable_checks = [
|
|
222
|
+
'80chars',
|
|
223
|
+
'class_inherits_from_params_class',
|
|
224
|
+
'class_parameter_defaults',
|
|
225
|
+
'documentation',
|
|
226
|
+
'single_quote_string_with_variables']
|
|
227
|
+
config.ignore_paths = ["tests/**/*.pp", "vendor/**/*.pp","examples/**/*.pp" "spec/**/*.pp", "pkg/**/*.pp"]
|
|
222
228
|
end
|
|
223
229
|
|
|
224
230
|
require 'puppet-syntax/tasks/puppet-syntax'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppetlabs_spec_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet Labs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|