solr

pdk
Solr module, very basic. Only tested on CentOS7 / RedHat7

Valentin Savenko

valentinsavenko

8,043 downloads

1,677 latest version

4.8 quality score

Version information

  • 0.7.10 (latest)
  • 0.7.9
  • 0.7.8
  • 0.7.7
  • 0.7.6
  • 0.7.5
  • 0.7.4
  • 0.7.3
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.1
  • 0.6.0
  • 0.5.1
released Jan 21st 2020
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • RedHat
    ,
    CentOS

Start using this module

Tags: solr

Documentation

valentinsavenko/solr — version 0.7.10 Jan 21st 2020

Puppet-Solr module

Build Status

Solr module, very basic. Only tested on CentOS7 / RedHat7.

It downloads the version defined in hiera from http://archive.apache.org/dist/lucene/solr/, installs Solr following the offcial docu here and starts Solr as a init.d Service.

For more info on design decisions check the blog I wrote about this module.

Setup

Setup Requirements

This module expects Java to be present on the system e.g. 'puppetlabs-java'. The default solr version was tested with Oracle Java 1.8.

Beginning with solr

The minimal code to make it run is simply:

include solr

It uses all the default values from hiera at data/common.yaml If you need to change those, create your own hiera file and override those values.

Usage / Reference

Check the hiera file at data/common.yaml for all possible inputs The only tricky param is maybe solr::zk_hosts, you need to actually have Zookeeper running, for it to make sense, e.g.:

  #------------------------------------------------------------------------------#
  # deric/puppet-zookeeper                                                       #
  # https://github.com/deric/puppet-zookeeper                                    #
  #------------------------------------------------------------------------------#
  class { 'zookeeper': 
    install_method  => 'archive',
    archive_dl_site => 'http://mirror.netcologne.de/apache.org/zookeeper',
    archive_version => '3.4.13',
    service_provider    => 'systemd',
    manage_service_file => true,
  }