blob: 0daa82ff88ec8ea243d18c405d06c7228eefdb37 [file] [log] [blame]
#!/bin/bash
cd /root/chef-solo
chef-solo -c solo.rb -o recipe[cassandra-actions::01-configureCassandra] -E ${ENVNAME}
rc=$?
if [[ $rc != 0 ]]; then exit $rc; fi
echo "########### starting cassandra ###########"
# start cassandra
/docker-entrypoint.sh cassandra -f &
chef-solo -c solo.rb -E ${ENVNAME}
if [[ $rc != 0 ]]; then exit $rc; fi
exec "$@";