Forge Home

solr

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

9,880 downloads

2,551 latest version

4.8 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.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 (deleted)
  • 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
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'valentinsavenko-solr', '0.7.10'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install valentinsavenko-solr --version 0.7.10

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: 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,
  }