puppet-ghostbuster 0.7.2 → 0.7.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8addb8e57298df2fd22ee7fe11be2c60b365550
|
4
|
+
data.tar.gz: f9ccbedf75aef22ee07360ce0d9b50002c1ed3d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6c8bcbf11f3a2ba9a13f9edc761bc6c7283f089123b321f2b5d5f814d82fb27f6d076cb489f969f2b6a51a8a1f6520e8f7b37ef57f7198d95c0c1cb3f0f1c22
|
7
|
+
data.tar.gz: f0bfeb29d73ccd663398d018349d56e34f13085f7461eb086c4273f47ce3d747f125d985259cd80908b0127f442139ba080b0bd4916b57eea2fb2c8aceda1b73
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [0.7.3](https://rubygems.org/gems/puppet-ghostbuster/versions/0.7.3) (2016-06-08)
|
4
|
+
[Full Changelog](https://github.com/camptocamp/puppet-ghostbuster/compare/0.7.2...0.7.3)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- False positive when fact is boolean
|
9
|
+
|
3
10
|
## [0.7.2](https://rubygems.org/gems/puppet-ghostbuster/versions/0.7.2) (2016-05-19)
|
4
11
|
[Full Changelog](https://github.com/camptocamp/puppet-ghostbuster/compare/0.7.1...0.7.2)
|
5
12
|
|
@@ -52,7 +52,14 @@ PuppetLint.new_check(:ghostbuster_hiera_files) do
|
|
52
52
|
if v[0] == 'certname'
|
53
53
|
query = [:'=', 'certname', m.captures[0]]
|
54
54
|
else
|
55
|
-
|
55
|
+
value = if m.captures[0] == 'true'
|
56
|
+
true
|
57
|
+
elsif m.captures[0] == 'false'
|
58
|
+
false
|
59
|
+
else
|
60
|
+
m.captures[0]
|
61
|
+
end
|
62
|
+
query = [:'=', ['fact', v[0]], value]
|
56
63
|
end
|
57
64
|
end
|
58
65
|
|
data/spec/fixtures/nodes.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-ghostbuster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Camptocamp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|