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: 7dbc48a5c489dff646f6dbc6845e7c69f47c2be3
4
- data.tar.gz: 3f94def24c10181b8ed01aa8262be9a2069d5731
3
+ metadata.gz: 0f662cbfa8fe9836cff3ad08990e804bc3aed47a
4
+ data.tar.gz: 2f4206ce92f7f373bfe067861cf6989cec493b4d
5
5
  SHA512:
6
- metadata.gz: 033b213fe6aa55bec6aae70ba520fc40443b42866bcc66efd4f7633b19e2b06d914d70413793448cdab36ae74bdb9d0839b25ec1b911de395a2537e761acf9a8
7
- data.tar.gz: f73f2ffaa21d835f6a1fadfd86031ae699bdf9e15a4ae993ac3fef71b9dbc19fdee824eb91494bb2fc15edbd979a870672c3b99b3df121a21dc56184e20c4223
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
- puts "tentacle thumbprint is #{thumbprint}"
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 able_to_test_dsc_configuration?
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
@@ -1,3 +1,3 @@
1
1
  module OctopusServerSpecExtensions
2
- VERSION = "0.13.3"
2
+ VERSION = "0.13.4"
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.13.3
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-05 00:00:00.000000000 Z
11
+ date: 2017-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec