chef-provisioning-azurerm 0.3.0 → 0.3.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
  SHA1:
3
- metadata.gz: 7d176236bac9897ee22d2e60033bdfbad9d25796
4
- data.tar.gz: 68c52c8d7981aea6e7924cf8d03e3adac0a1583b
3
+ metadata.gz: 7da0fd81aef0e92d574dc529def0eed41cda66ad
4
+ data.tar.gz: dc963917313890dc4deca22f3654063e19993ac2
5
5
  SHA512:
6
- metadata.gz: 29dd37fd7ed0bc40ad827a7df2e60098c74983ea9b6190c658aecc0b88d2959384299e1461377f38b362aa83c2c5e35cd2476ce59d22f1e14777454295b0bd67
7
- data.tar.gz: f7f8969fb4d2782f64a31c23d9d06597d686466516241ca7e523b881e5fcb0e66975e54b5c73b9a07747b34196e7248afc4c8d0563e964e6f185d5f864a8e570
6
+ metadata.gz: 63fd59b7295bafbc79bd840e5752a81eef01a1fb57ed4014d9e4332bd920b9b3c044001d1cc5637336a768ce944f88ab9f47d754fa303f53e0c2556d8c4a80f4
7
+ data.tar.gz: 72f6bcf3afde3b61a7787cab7a1d218ca8fc93842e86a232e03e7f8d434e2788ba99e17dc3f1198a3bc13b190f4aab4b626c791735134bd9069b3c1b94b84ff0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # chef-provisioning-azurerm Changelog
2
2
 
3
+ ## [0.3.1] - 2015-09-05
4
+ ### Changed
5
+ - :destroy action on azure_resource_group now correctly detects existence of resource group before attempting deletion
6
+
3
7
  ## [0.3.0] - 2015-09-04
4
8
  ### Changed
5
9
  - Now using ARM functionality from the updated [Azure SDK for Ruby](http://github.com/azure/azure-sdk-for-ruby) rather than direct HTTPS calls to the Resource Manager API.
@@ -21,7 +21,7 @@ class Chef
21
21
  action :destroy do
22
22
  converge_by("destroy Resource Group #{new_resource.name}") do
23
23
  resource_group_exists = resource_management_client.resource_groups.check_existence(new_resource.name).value!
24
- if resource_group_exists.body == "true"
24
+ if resource_group_exists.body
25
25
  result = resource_management_client.resource_groups.delete(new_resource.name).value!
26
26
  else
27
27
  action_handler.report_progress "Resource Group #{new_resource.name} was not found."
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module AzureRM
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-azurerm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Preston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-04 00:00:00.000000000 Z
11
+ date: 2015-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef