chef-provisioning-vsphere 0.5.7.dev3 → 0.5.7.dev4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 250f8f464903ec4bbc35fcd6737505f4ff67bc2f
         | 
| 4 | 
            +
              data.tar.gz: ee2d7a263ed80827bec13a2797f8d824c182e882
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: bb1753e540bb3d2feb242a532ed856903204263d1dba4cbf189d48f83013f0df8472b8e27f66847649150104249c141a31c91c5ab6677d7bd63511a4d8e3c21d
         | 
| 7 | 
            +
              data.tar.gz: 757d92ffc2423a85e7a5edcf459ab0ab3e36653627d5d56e990a7dc71c02c9df104239b27a96af5a1ced503311058aee84f03072acc6fb0b03794bcef5835d28
         | 
| @@ -266,7 +266,7 @@ module ChefProvisioningVsphere | |
| 266 266 | 
             
                  Chef::Log.debug("Finding pool: #{pool_name}")
         | 
| 267 267 | 
             
                  pool = find_entity(pool_name, datacenter.hostFolder) do |parent, part|
         | 
| 268 268 | 
             
                    case parent
         | 
| 269 | 
            -
                    when RbVmomi::VIM::ClusterComputeResource  | 
| 269 | 
            +
                    when RbVmomi::VIM::ClusterComputeResource, RbVmomi::VIM::ComputeResource
         | 
| 270 270 | 
             
                      Chef::Log.debug("finding #{part} in a #{parent.class}: #{parent.name}")
         | 
| 271 271 | 
             
                      Chef::Log.debug("Parent root pool has #{parent.resourcePool.resourcePool.count} pools")
         | 
| 272 272 | 
             
                      parent.resourcePool.resourcePool.each { |p| Chef::Log.debug(p.name ) }
         | 
| @@ -277,7 +277,7 @@ module ChefProvisioningVsphere | |
| 277 277 | 
             
                      parent.resourcePool.each { |p| Chef::Log.debug(p.name ) }
         | 
| 278 278 | 
             
                      parent.resourcePool.find { |f| f.name == part }
         | 
| 279 279 | 
             
                    else
         | 
| 280 | 
            -
                      Chef::Log.debug("parent of #{part} is unexpected type: #{ | 
| 280 | 
            +
                      Chef::Log.debug("parent of #{part} is unexpected type: #{parent.class}")
         | 
| 281 281 | 
             
                      nil
         | 
| 282 282 | 
             
                    end
         | 
| 283 283 | 
             
                  end
         |