anchor.diff:      bucket: <%= p("bits-service.app_stash.directory_key") %>
       access_key_id: <%= p("bits-service.app_stash.fog_connection.aws_access_key_id") %>
       secret_access_key: <%= p("bits-service.app_stash.fog_connection.aws_secret_access_key") %>
  -    region: <%= p("bits-service.droplets.fog_connection.region") %>
  +    region: <%= p("bits-service.app_stash.fog_connection.region") %>
  +  <% end %>
     <% end %>
   
   logging:
  
positive.code:     bucket: <%= p("bits-service.packages.directory_key") %>
      access_key_id: <%= p("bits-service.packages.fog_connection.aws_access_key_id") %>
      secret_access_key: <%= p("bits-service.packages.fog_connection.aws_secret_access_key") %>
      region: <%= p("bits-service.droplets.fog_connection.region") %>
    <% end %>
  
  app_stash:
    blobstore_type: <%= p("bits-service.app_stash.fog_connection.provider") %>
    <% if p("bits-service.app_stash.fog_connection.provider").downcase == "local" %>
    local_config:
  
negative.code:     bucket: <%= p("bits-service.buildpacks.directory_key") %>
      access_key_id: <%= p("bits-service.buildpacks.fog_connection.aws_access_key_id") %>
      secret_access_key: <%= p("bits-service.buildpacks.fog_connection.aws_secret_access_key") %>
      region: <%= p("bits-service.buildpacks.fog_connection.region") %>
    <% end %>
    <% end %>
  
  droplets:
    <% if p("bits-service.droplets.blobstore_type").downcase == "webdav" %>
    blobstore_type: webdav
    webdav_config:
      public_endpoint: <%= p("bits-service.droplets.webdav_config.public_endpoint") %>
      private_endpoint: <%= p("bits-service.droplets.webdav_config.private_endpoint") %>
      username: <%= p("bits-service.droplets.webdav_config.username") %>
      password: <%= p("bits-service.droplets.webdav_config.password") %>
      <% if p("bits-service.droplets.webdav_config.ca_cert") != "" && p("bits-service.droplets.webdav_config.ca_cert") != nil %>
      ca_cert_path: "/var/vcap/jobs/bits-service/config/certs/droplets_ca_cert.pem"
      <% end %>
    <% else %>
    blobstore_type: <%= p("bits-service.droplets.fog_connection.provider") %>
    <% if p("bits-service.droplets.fog_connection.provider").downcase == "local" %>
    local_config:
  