anchor.diff:  PASSWORD="<%= p('nfsbrokerpush.password') %>"
   APP_URL=$SCHEME://$APP_NAME.$DOMAIN
   
  -mkdir -p $CF_HOME
   
   ERROR_EXIT_CODE=<%= p('nfsbrokerpush.error_on_misconfiguration') ? 1 : 0 %>
   DEPLOYMENT_STATUS=0
   
   function authenticate_and_target() {
  +  cf logout
  +  mkdir -p $CF_HOME
     cf api $API_ENDPOINT <% if p('nfsbrokerpush.skip_cert_verify') %>--skip-ssl-validation<% end %>
     <% if_p('nfsbrokerpush.cf.client_id', 'nfsbrokerpush.cf.client_secret') do |client_id, client_secret| %>
       cf auth "<%= client_id %>" "<%= client_secret %>" --client-credentials
  
positive.code:   cf create-service-broker $SERVICE_BROKER_NAME $USERNAME $PASSWORD $APP_URL || cf update-service-broker $SERVICE_BROKER_NAME $USERNAME $PASSWORD $APP_URL
  }
  
  function print_deployment_status() {
    if [[ $DEPLOYMENT_STATUS != 0 ]]; then
      echo "Deployment failed!"
  
negative.code: #!/bin/bash -eu
  
  export PATH="/var/vcap/packages/cf-cli-6-linux/bin:$PATH"
  export CF_HOME=/var/vcap/data/nfsbrokerpush_$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 6 | head -n 1)/
  export CF_DIAL_TIMEOUT=<%= p('nfsbrokerpush.cf.dial_timeout') %>
  
  SCHEME=https
  