kafo 5.0.0 → 5.0.1
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 +4 -4
- data/lib/kafo/puppet_command.rb +1 -4
- data/lib/kafo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8444079aa3981305927cda7536f93d476b43bb6feaaaac2a3172a52010ff1575
|
|
4
|
+
data.tar.gz: f2dd10a6c71c6ee003cc1ca205820e2b9037e182dd9b11c68ab62e13476a2034
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64ebbbc3909f6fc60c5b9a714bdbe98869602a1f5b320f9e9963cf78d26c1104868cec8fcaf68d928a7f7825981ce7558dbc41043b3c0967f6b775b2c28073de
|
|
7
|
+
data.tar.gz: 8a86cd7cac3a0f17fdd0006119bb3f60f043e93410e33672dc712cbdc846d5049a5a8db5020f34abf1d2d5f2afa62c8f66901376a4f83aec8fbf472f88cc0b5e
|
data/lib/kafo/puppet_command.rb
CHANGED
|
@@ -38,11 +38,8 @@ module Kafo
|
|
|
38
38
|
# Find the location of the puppet executable and use that to
|
|
39
39
|
# determine the path of all executables
|
|
40
40
|
bin_path = (::ENV['PATH'].split(File::PATH_SEPARATOR) + ['/opt/puppetlabs/bin']).find do |path|
|
|
41
|
-
File.executable?(File.join(path, 'puppet')) &&
|
|
42
|
-
!File.symlink?(File.join(path, 'puppet')) &&
|
|
43
|
-
File.executable?(File.join(path, bin_name))
|
|
41
|
+
File.executable?(File.join(path, 'puppet')) && File.executable?(File.join(path, bin_name))
|
|
44
42
|
end
|
|
45
|
-
|
|
46
43
|
File.join([bin_path, bin_name].compact)
|
|
47
44
|
end
|
|
48
45
|
|
data/lib/kafo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kafo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marek Hulan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|