octopus-serverspec-extensions 0.10.1 → 0.10.2
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: e9f73c302cabe2604c16a08d0f11d71aa0a64042
|
4
|
+
data.tar.gz: 79d52ac9c326170ac7aba357392f248ea46007df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a376ffafd3ef10e7177d99f159b7250cc50ed041dc8f1ebff31655cc9cb585ac9f1bd9d9d4be619fe7d3a97a9796a2b0d20dad9687d9831ba0dcccdc00ccfa8
|
7
|
+
data.tar.gz: c1216c8d1ff8fe2b03f3ca9466722e099c73f8a24a2d4018d91831d598dd4604b2fde36ac7831123c30862dc217f93e80ee676f3bb6f86dd5b1a2514b326e5c5
|
@@ -84,14 +84,14 @@ module Serverspec::Type
|
|
84
84
|
|
85
85
|
def listening_tentacle?
|
86
86
|
return false if @machine.nil?
|
87
|
-
puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@machine["
|
88
|
-
@machine["
|
87
|
+
puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentaclePassive")
|
88
|
+
@machine["Endpoint"]["CommunicationStyle"] == "TentaclePassive"
|
89
89
|
end
|
90
90
|
|
91
91
|
def polling_tentacle?
|
92
92
|
return false if @machine.nil?
|
93
|
-
puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@machine["
|
94
|
-
@machine["
|
93
|
+
puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentacleActive")
|
94
|
+
@machine["Endpoint"]["CommunicationStyle"] == "TentacleActive"
|
95
95
|
end
|
96
96
|
|
97
97
|
def exists?
|