fog/fog — pull request #3341 by shlomizadok (2014-12-14 08:09:15+00:00)
Title: [vSphere]: Add full path to cluster

The reason for adding full path:
refs: [foreman bug #8581](http://projects.theforeman.org/issues/8581)
When trying to create a new vm, and the cluster in under a folder:
DataCenter -> Folder -> Cluster
The creation will fail, as it is not finding the cluster.
In order to find the cluster, apparently we need to provide the path including the folders. (the issue is actually an issue with rbvmomi, but not trying to change that, atm.)
So, when trying to create a vm, when I have provided "Cluster" as my cluster it failed to create the vm (```unknown method 'resourcePool' for nil class```). When I have provided "Folder/Cluster" the vm was created.
Initially, I have planned to change the ```name``` attribute to return the full path (folder/cluster) as if it has no folders above it will return only the cluster - but am not sure if it will break others code.
With the new attribute, in Foreman, I am going to change to something like [psuedo:] ```cluster.name = cluster.name_path```, so I'll be able to create the vm from foreman.