octopus-serverspec-extensions 0.17.0 → 0.17.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5633418a1e8ae85805eeabef99aac9421b8fac79aa712af8561b269a2255dc8b
|
4
|
+
data.tar.gz: e03edfa9c91ca5e619942596655ce0c59b23b9f9175e7bd00b936458374982ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cb9a7fa6a56d69103d8c458f1b890410754a72b558f665cdca0edf57c889b85ed4caa72f84ed6216dc81a8416aa577d2fb1c99d11dc075103e9ed676614c8dc
|
7
|
+
data.tar.gz: 81a37c15a7386cdf2cb43b40ab1ec3920b210be2b72a9d41b33322c308ea84028cef64f5b0821edd22944cbe075ca0bf0461f012639491c8bb3109320eac74a7
|
@@ -129,13 +129,13 @@ module Serverspec::Type
|
|
129
129
|
@machine["TenantedDeploymentParticipation"] == mode
|
130
130
|
end
|
131
131
|
|
132
|
-
def
|
132
|
+
def listening_tentacle?
|
133
133
|
return false if @machine.nil?
|
134
134
|
puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentaclePassive")
|
135
135
|
@machine["Endpoint"]["CommunicationStyle"] == "TentaclePassive"
|
136
136
|
end
|
137
137
|
|
138
|
-
def
|
138
|
+
def polling_tentacle?
|
139
139
|
return false if @machine.nil?
|
140
140
|
puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentacleActive")
|
141
141
|
@machine["Endpoint"]["CommunicationStyle"] == "TentacleActive"
|
@@ -94,13 +94,13 @@ module Serverspec::Type
|
|
94
94
|
@worker["Uri"].casecmp(uri) == 0
|
95
95
|
end
|
96
96
|
|
97
|
-
def
|
97
|
+
def listening_worker?
|
98
98
|
return false if @worker.nil?
|
99
99
|
puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@worker["Endpoint"]["CommunicationStyle"]}'" if (@worker["Endpoint"]["CommunicationStyle"] != "TentaclePassive")
|
100
100
|
@worker["Endpoint"]["CommunicationStyle"] == "TentaclePassive"
|
101
101
|
end
|
102
102
|
|
103
|
-
def
|
103
|
+
def polling_worker?
|
104
104
|
return false if @worker.nil?
|
105
105
|
puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@worker["Endpoint"]["CommunicationStyle"]}'" if (@worker["Endpoint"]["CommunicationStyle"] != "TentacleActive")
|
106
106
|
@worker["Endpoint"]["CommunicationStyle"] == "TentacleActive"
|
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.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Richardson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: serverspec
|