export SSL_SUPPORTED_TLS_VERSIONS="<%= p('rabbitmq-server.ssl.versions') %>"
export SSL_KEY="<%= p("rabbitmq-server.ssl.key") %>"
export SSL_VERIFY="<%= p("rabbitmq-server.ssl.verify") %>"
export SSL_VERIFICATION_DEPTH="<%= p("rabbitmq-server.ssl.verification_depth") %>"
export SSL_FAIL_IF_NO_PEER_CERT="<%= p("rabbitmq-server.ssl.fail_if_no_peer_cert") %>"

export CLUSTER_PARTITION_HANDLING="<%= p("rabbitmq-server.cluster_partition_handling") %>"
export DISK_ALARM_THRESHOLD="<%= p("rabbitmq-server.disk_alarm_threshold") %>"
export LOAD_DEFINITIONS="<%= p("rabbitmq-server.load_definitions") %>"

export SSL_KEY=""
export LOAD_DEFINITIONS=""

export SSL_SUPPORTED_TLS_VERSIONS="<%= p('rabbitmq-server.ssl.versions') %>"
export SSL_VERIFY="<%= p("rabbitmq-server.ssl.verify") %>"
export SSL_VERIFICATION_DEPTH="<%= p("rabbitmq-server.ssl.verification_depth") %>"
export SSL_FAIL_IF_NO_PEER_CERT="<%= p("rabbitmq-server.ssl.fail_if_no_peer_cert") %>"

<% if_p("rabbitmq-server.ssl.key") do |key| %>
  export SSL_KEY="<%= key %>"
<% end %>

export CLUSTER_PARTITION_HANDLING="<%= p("rabbitmq-server.cluster_partition_handling") %>"
export DISK_ALARM_THRESHOLD="<%= p("rabbitmq-server.disk_alarm_threshold") %>"

<% if_p("rabbitmq-server.load_definitions") do |definitions| %>
  export LOAD_DEFINITIONS="<%= definitions %>"
<% end %>

Validate if bosh properties are provided
Validate if bosh properties are provided

* Sets default to empty if that's now given
