def vcenter_configuration
      clusters = settings.provider.datacenter.clusters
      clusters = clusters.split(",") if clusters.is_a?(String)
      {
        "host"=>settings.provider.credentials.vsphere_server,
        "user"=>settings.provider.credentials.vsphere_username,
        "password"=>settings.provider.credentials.vsphere_password,
        "datacenters"=>[{
          "name"=>settings.provider.datacenter.name,
          "vm_folder"=>settings.provider.datacenter.vm_folder,
          "template_folder"=>settings.provider.datacenter.template_folder,
          "disk_path"=>settings.provider.datacenter.disk_path,
          "datastore_pattern"=>settings.provider.datacenter.datastore_pattern,
          "persistent_datastore_pattern"=>settings.provider.datacenter.persistent_datastore_pattern,
          "allow_mixed_datastores"=>settings.provider.datacenter.allow_mixed_datastores,
          "clusters"=>clusters
        }]
      }
    end
def vcenter_configuration
      clusters = settings.provider.datacenter.clusters
      clusters = clusters.split(",") if clusters.is_a?(String)
      {
        "host"=>settings.provider.credentials.vsphere_server,
        "user"=>settings.provider.credentials.vsphere_username,
        "password"=>settings.provider.credentials.vsphere_password,
        "datacenters"=>[{
          "name"=>settings.provider.datacenter.name,
          "vm_folder"=>settings.provider.datacenter.vm_folder,
          "template_folder"=>settings.provider.datacenter.template_folder,
          "disk_path"=>settings.provider.datacenter.disk_path,
          "datastore_pattern"=>settings.provider.datacenter.datastore_pattern,
          "persistent_datastore_pattern"=>settings.provider.datacenter.persistent_datastore_pattern,
          "allow_mixed_datastores"=>settings.provider.datacenter.allow_mixed_datastores,
          "clusters"=>clusters
        }]
      }
    end
vcenters:
 - host: HOST
   user: dev\cloudfoundry-auth
   password: TempP@ss
   datacenters:
     - name: LAS01
       vm_folder: BOSH_VMs
       template_folder: BOSH_Templates
       disk_path: BOSH_Deployer
       datastore_pattern: las01-.*
       persistent_datastore_pattern: las01-.*
       allow_mixed_datastores: true
       clusters:
       - CLUSTER01