Forge Home

solr

A puppet module for solr

24,777 downloads

13,892 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.8 (latest)
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.2
  • 0.0.1
released Jul 25th 2015
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'vamsee-solr', '0.0.8'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add vamsee-solr
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install vamsee-solr --version 0.0.8

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: apache, solr

Documentation

vamsee/solr — version 0.0.8 Jul 25th 2015

Solr Module

Build Status

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)