octopus-serverspec-extensions 0.11.5 → 0.11.6

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: 191f48cdc8a2cc3a4078038d9b6132d92f0cc2f3
4
- data.tar.gz: c6fb77dc9336464ef109949d86d721c01c48f36a
3
+ metadata.gz: cff57719c12dde8387c313c6ce8d63467c132358
4
+ data.tar.gz: d5063cab41b421e4363e5d45a144217b40f3ded1
5
5
  SHA512:
6
- metadata.gz: '086a60f27a73b753e354fe9da32bab65ceb4decb00c716053c00f0d50202581b7ea7bdfa22cd0f59e78d139920fdc4341b0f8f4a0ad7a912f7fefecc9d8a89fa'
7
- data.tar.gz: '0764624262950acb02b01c9dcc0b037ce394cac60fdc37a4860afcb19e1e4d5c1f851fc73c0bdefd447ca2a368154b8187e3589e017c12f77458d1bbf6a3c508'
6
+ metadata.gz: b2be749d1c09fe60d7f45ad285b4d3ab47ee92617395068745f9ca91fb60e2ab830e572fb7e0575459e5c9c291c390071e1aef1805e0b7a1b40135fcb3f35130
7
+ data.tar.gz: 16c6bfc7980a3ad9cd685f4b2c01b141fa1665963bb74127756627684ac88595588ebc1d03822d2cb89c57a286eaa10629ff8e2c2e4b3bbbc47f12a42e44d9da
@@ -25,8 +25,14 @@ module Serverspec::Type
25
25
  end
26
26
 
27
27
  if (exists?)
28
- thumbprint = `"c:\\program files\\Octopus Deploy\\Tentacle\\Tentacle.exe" show-thumbprint --console --nologo --instance #{instance}`.strip.gsub('The thumbprint of this Tentacle is: ', '')
28
+ thumbprint = `"c:\\program files\\Octopus Deploy\\Tentacle\\Tentacle.exe" show-thumbprint --console --nologo --instance #{instance}`
29
+ thumbprint = thumbprint.gsub('==== ShowThumbprintCommand starting ====', '').strip
30
+ thumbprint = thumbprint.gsub('The thumbprint of this Tentacle is: ', '').strip
31
+ thumbprint = thumbprint.gsub('==== ShowThumbprintCommand completed ====', '').strip
32
+ puts "tentacle thumbprint is #{thumbprint}"
29
33
  @machine = get_machine_via_api(serverUrl, apiKey, thumbprint)
34
+ else
35
+ puts "tentacle.exe does not exist"
30
36
  end
31
37
  end
32
38
 
@@ -1,3 +1,3 @@
1
1
  module OctopusServerSpecExtensions
2
- VERSION = "0.11.5"
2
+ VERSION = "0.11.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopus-serverspec-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.5
4
+ version: 0.11.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Richardson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-10 00:00:00.000000000 Z
11
+ date: 2017-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec