anchor.diff:        user: <%= reg_user %>
         password: <%= reg_password %>
   <% end %>
  +
   <% if_p('vcenter.address', 'vcenter.user', 'vcenter.password', 'vcenter.datacenters') do |address, user, password, datacenters| %>
     plugin: vsphere <% plugin = "vsphere" %>
     properties:
  
positive.code:   port: <%= p('director.db.port') %>
    database: <%= p('director.db.database') %>
    connection_options: <%= JSON.generate(p('director.db.connection_options')) %>
  snapshots:
    enabled: <%= p('director.enable_snapshots') %>
  max_vm_create_tries: <%= p('director.max_vm_create_tries') %>
  
  scheduled_jobs:
  
negative.code:           vm_metadata_key: <%= vm_metadata_key %>
            description: <%= description %>
  <% end %>
  
  <% raise "Could not find cloud plugin" if plugin.nil? %>
  
      agent:
        ntp: [<%= p('ntp').join(", ") %>]
  
        blobstore:
          provider: <%= p('blobstore.provider') %>
          options:
  