cloudfoundry-community-attic / aws-nat-bastion-bosh-cf

Set up a best practices Cloud Foundry with just a few commands.
2 stars 7 forks source link

Migrate bin/nbb provision_cf() to spruce #35

Closed jahio closed 7 years ago

jahio commented 8 years ago

In bin/nbb around line ~218:

provision_cf() {
  if [[ -f "${HOME}/.rvm/environments/default" ]]
  then source "${HOME}/.rvm/environments/default" &>/dev/null
  fi
  echo "[provision] Bootstrapping CF..."
  {
    cp "${HOME}/deployments/cf-${cfSize}.yml" "${HOME}/workspace/deployments/cf-${cfSize}.yml"
    # TODO: Replace this with spruce!!!

    if [[ "${cfDomain}" == "SSLIP" ]]
    then

# ... file continues ...

This is a reminder/issue to, as the comment says, "replace this with spruce!!!"