Youscribe/solr_app-cookbook — pull request #6 by winmillwill (2014-05-03 21:40:18+00:00)
Title: Add test for lwrp and make it pass

Fixed:
* using working version of application_java cookbook in Berksfile
* running template['solr.xml'] in before_restart callback so it sees new cores
* removed non-working notifications, using inline resources

Now the solr core will actually be available in one converge instead of two.

I am no solr expert, so I didn't see what to do besides cram the example conf dir into the chef files dir for the solr_app. If there's a much smaller subset of the files that will work, I'm happy to trim it down. Alternatively, if there's some way of faking out the remote_directory resource so that we can populate it at runtime, or if we would consider a design change to the lwrp, I'd be happy to help with that.