anchor.diff:  		${DOCKER_IMAGE} -f $PACKAGE_PATH/${PKG_NAME}/manifest.yml \
   		--no-start
   	add_env_vars ${APP_NAME}
  -	if [ -n "$NEEDS_CF_CREDS" ]; then
  +	if is_true "$NEEDS_CF_CREDS"; then
   		add_cf_credentials ${APP_NAME}
   	fi
   	if [ -n "$HEALTH_CHECK" ]; then
  
positive.code: 		if [ "$service" == "None" ]; then
  			continue
  		fi
  		services=`$CF services | grep ${PKG_NAME}-$service`
  		if [ -z "$services" ]; then
  			plan=`$CF marketplace | grep $service | awk '{ print $2 }' | sed 's/,//g'`
  			if [ "$plan" != "" ]; then
  				cf create-service $service $plan ${PKG_NAME}-$service
  			else
  				echo "no service matching" $service "in marketplace"
  
negative.code: export APP_NAME={{ package.name }}-{{ context.version }}
  export APP_HOST={{ (package.manifest and package.manifest.host) or package.name }}
  export DOCKER_IMAGE="{{ ( package.is_docker and '--docker-image ' + package.image ) or '' }}"
  export NEEDS_CF_CREDS="{{ package.needs_cf_credentials }}"
  export HEALTH_CHECK=<%= properties.{{ package.name }}.health_check %>
  export AUTO_SERVICES="<%= properties.{{ package.name }}.auto_services %>"
  export AUTO_SERVICES="${AUTO_SERVICES} <%= properties.{{ package.name }}.persistence_store_type %>"
  