octopus-serverspec-extensions 0.13.3 → 0.13.4
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: 0f662cbfa8fe9836cff3ad08990e804bc3aed47a
|
4
|
+
data.tar.gz: 2f4206ce92f7f373bfe067861cf6989cec493b4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e6999972e9ee4ae860e985a79cfdc147b4e32e35df4d4e2a1fdc1d256f2e8330e45d457df5ae7b3523bad6f4c00b7d7e777ea09b62de3ba1dd13d264674d097
|
7
|
+
data.tar.gz: da6add0312507fd9c82404150b7614e6eebdeed745dcf95083771d60c55504a48997f56af5ace88deac3bf652b90614aebe96de9b76ca172a03afda609be081e
|
@@ -30,7 +30,7 @@ module Serverspec::Type
|
|
30
30
|
thumbprint = thumbprint.gsub('The thumbprint of this Tentacle is: ', '').strip
|
31
31
|
thumbprint = thumbprint.gsub('==== ShowThumbprintCommand completed ====', '').strip
|
32
32
|
thumbprint = thumbprint.gsub('==== ShowThumbprintCommand ====', '').strip
|
33
|
-
|
33
|
+
|
34
34
|
@machine = get_machine_via_api(serverUrl, apiKey, thumbprint)
|
35
35
|
else
|
36
36
|
puts "tentacle.exe does not exist"
|
@@ -13,7 +13,7 @@ module Serverspec::Type
|
|
13
13
|
command_result.stdout.gsub(/\n/, '').match /Get-DSCConfiguration succeeded/
|
14
14
|
end
|
15
15
|
|
16
|
-
def
|
16
|
+
def applied_dsc_configuration_successfully?
|
17
17
|
command_result = @runner.run_command('$ProgressPreference = "SilentlyContinue"; try { if (-not (Test-DSCConfiguration -ErrorAction Stop)) { write-output "Test-DSCConfiguration returned false"; exit 1 } write-output "Test-DSCConfiguration succeeded"; exit 0 } catch { write-output "Test-DSCConfiguration failed"; write-output $_; exit 2 }')
|
18
18
|
command_result.stdout.gsub(/\n/, '').match /Test-DSCConfiguration succeeded/
|
19
19
|
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.13.
|
4
|
+
version: 0.13.4
|
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-12-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: serverspec
|