rewrite of provisioning script based on script for solr3.4.1 vagrant box.