octopus-serverspec-extensions 0.13.5 → 0.13.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: 9e22b8d434cb793ebc4f82f0824df31b239e109f
4
- data.tar.gz: 9cc65067d6cccb05b71b6508b9cbfa92cb32fb7b
3
+ metadata.gz: d42d16a336cf8f35ca35e95711ef0c72b8faecfc
4
+ data.tar.gz: 651a99a9f8ec16756434f38b671bf3fb0fe82ae5
5
5
  SHA512:
6
- metadata.gz: 61860940e0f6959174a64240dfb6cee54d9cd9ce6c972f10499cf31b4749c9437d91f9bef69534f6a76080edeb4de8d3e6863e5052013ac3dc9e29ade1a3b0f1
7
- data.tar.gz: ca6e1ec55aab6f065a9d99a609f37f937a7dac14a54072c5e2c85708ec0c325f93760298b4a49cdaa5a553f13677ef2384ddb4449d8caaaa99be07aa27395d52
6
+ metadata.gz: b311b247086a39c923d557ae9835ad7f5e7ef6b6be92656e1ad08015f7d94d884177dcdbb1e889c95c7b1a0daa261cf3ae051b344479749369d2169c8a1720c9
7
+ data.tar.gz: aa4deec8f47c92e3eb83f65df671538a178f34c563a4face09e898af3567d081519b219a308a7ffa77376ad1794bcdc26567a902140f1e6d16c961dc710b4dde
@@ -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 applied_dsc_configuration_successfully?
16
+ def has_applied_dsc_configuration_successfully?
17
17
  command_result = @runner.run_command('$ProgressPreference = "SilentlyContinue"; $state = ""; do { $state = (Get-DscLocalConfigurationManager).LCMState; write-host "LCM state is $state"; Start-Sleep -Seconds 2; } while ($state -ne "Idle"); 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.5"
2
+ VERSION = "0.13.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopus-serverspec-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.5
4
+ version: 0.13.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Richardson