solr

pdk
Configures and Installs Apache Solr

Manaaki Whenua

landcareresearch

563,625 downloads

410 latest version

5.0 quality score

Version information

  • 6.0.5 (latest)
  • 6.0.4
  • 6.0.3
  • 6.0.1
  • 6.0.0
  • 0.9.0
  • 0.8.0
  • 0.7.1
  • 0.7.0
  • 0.6.3
  • 0.6.2
  • 0.6.0
  • 0.5.15
  • 0.5.14
  • 0.5.13
  • 0.5.12
  • 0.5.11
  • 0.5.10
  • 0.5.9
  • 0.5.8
  • 0.5.7
  • 0.5.6
  • 0.5.5
  • 0.5.3
  • 0.5.2
  • 0.5.0
  • 0.4.0
  • 0.3.6
  • 0.3.5
  • 0.3.4
  • 0.3.3
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.1
released Feb 18th 2021
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • Ubuntu
    ,
    Centos

Start using this module

Documentation

landcareresearch/solr — version 6.0.5 Feb 18th 2021

Solr Puppet Module

Puppet Forge Bitbucket Build Status

About

Installs and configures apache solr and runs the embedded jetty service.

Solr Versions

  • 5.3.x and up - use solr puppet module 6.x.x
  • 5.0.x to 5.2.x - use solr puppet module 0.4.x
  • 4.x.x - use solr puppet module 0.2.2

Also supports systemd.

Module Description

This module utilizes the params concept so all default parameters are configured through solr::params.

Setup

Requirements

The solr puppet module no longer manages java. However, java is a requirement for installation.

Usage

Simple Use Case

Uses the defaults

include solr

Installing Cores

Cores can be installed via the defined type solr::core. Solr requires a restart when a new core is added. This module doesn't handle restarting solr for adding new cores.

Installation Example

file {'/tmp/schema.xml':
  ensure => file,
  content => inline_template('....'),
}

solr::core{'test':
  schema_src_file => '/tmp/schema.xml',
  require         => File ['/tmp/schema.xml'],
}

Installing Shared Libraries

This defined type allows shared libraries to be installed for use by solr.

Shared Libraries Example

solr::shared_lib{'jts':
  url => 'http://search.maven.org/remotecontent?filepath=com/vividsolutions/jts/1.13/jts-1.13.jar'
}

API

See REFERENCE.md for the API.

Limitations

Works with debian and redhat based OS's.

Development

The module is open source and available on bitbucket. Please fork!