puppet-solr

A puppet module for setting up a multi-core solr instance

  • Owner: vamsee/puppet-solr
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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)

Main metrics

Overview
Name With Ownervamsee/puppet-solr
Primary LanguageXSLT
Program languageRuby (Language Count: 6)
Platform
License:MIT License
所有者活动
Created At2012-09-23 06:42:15
Pushed At2018-01-03 22:58:53
Last Commit At2017-10-09 18:29:51
Release Count6
Last Release Name0.0.8 (Posted on )
First Release Name0.0.3 (Posted on 2013-09-04 19:47:15)
用户参与
Stargazers Count18
Watchers Count0
Fork Count53
Commits Count106
Has Issues Enabled
Issues Count14
Issue Open Count4
Pull Requests Count11
Pull Requests Open Count1
Pull Requests Close Count8
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private