Giter Site home page Giter Site logo

puppet-solr's Introduction

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.mesi.com.ar/lucene/solr',
  version       => '4.7.2',
  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 solr server maps to port 8080 by default, and vagrant maps this to port 8080 on host system also. So you should be able to see the solr server running at http://0.0.0.0:8080/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)

puppet-solr's People

Contributors

cillierburger avatar hidde-jan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.