added debian and redhat support to solr tasks