Version information
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'vamsee-solr', '0.0.8'
Learn more about managing modules with a PuppetfileDocumentation
Solr Module
This is a puppet module for setting up a multi-core solr instance.
Quick Start
Put this in your site.pp file and run sudo puppet apply:
include solr
If you need multiple cores out of the box, you can run this:
class { solr:
cores => [ 'development', 'staging', 'production' ]
}
It's highly recommended that you use a mirror like so:
class { 'solr':
mirror => 'http://apache.bytenet.in/lucene/solr',
version => '4.10.4',
cores => ['development', 'staging', 'production'],
}
NOTE: Currently only Ubuntu is supported, contributions for other platforms are most welcome. The code is well commented, and should give you a clear idea about how this module configures solr.
Running the tests
The module is developed through Vagrant (http://www.vagrantup.com) for easy testability. You can also use this to quickly test the module for yourself. Just cd into the directory and run:
vagrant up
The jetty server maps to port 8983 by default, and vagrant maps this to port 8983 on host system also. So you should be able to see the solr server running at http://localhost:8983/solr. This module also has a good test suite, you can run the specs by simply typing:
rake
If you want to run the system specs (slower, uses vagrant with serverspec) you can do the following:
rake spec:system
If you want to run them all together, use this:
rake spec:all
TODO
- Support other platforms
##License
MIT. Please see the LICENSE file for more information.
Contact
Contributions, especially making this multiplatform are most welcome.
Support
Please log tickets and issues in the issues page (https://github.com/vamsee/puppet-solr/issues)
25 Jul 2015 - Release v0.0.8
* Update the tests for PR #22
08 Feb 2015 - Release v0.0.7
* Merge a bunch of PRs, cleanups, updates
25 Apr 2014 - Release v0.0.6
* Set the mirror to download from, clean ups, updates
06 Sep 2013 - Release v0.0.5
* Small rewrite - download solr and setup webapp as forge
doesn't accept modules more than 20MB or so.
04 Sep 2013 - Release v0.0.4
* Update the solr install to the latest stable (4.4)
* Get rid of solr-jetty dependency in Ubuntu
* Significantly cleaned up code
* Proper tests, both unit as well as system (serverspec)
* Added vagrant setup for quick testing of the module
06 Jan 2013 - Release v0.0.3
* Added missing files and templates, fixes #1
23 Sep 2012
* First release
The MIT License (MIT) Copyright (c) 2012-2013 Vamsee Kanakala Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.