#!/bin/bash

python manage.py build_solr_schema --settings=dev_settings > /etc/solr/conf/schema.xml

/etc/init.d/tomcat6 restart

python manage.py rebuild_index --noinput --settings=dev_settings

#!/bin/bash

python manage.py build_solr_schema --settings=dev_settings > /etc/solr/conf/vagrant/conf/schema.xml

service tomcat6 restart

python manage.py rebuild_index --noinput --settings=dev_settings

Fix the Vagrant Solr update script to work with the new Puppet setup.
Fix the Vagrant Solr update script to work with the new Puppet setup.

The config file is in a different place, and we use service instead of the
init.d scripts now.
(cherry picked from commit bd02cb53d5994ffb0516fa8435aedd2dc14ba7be)
