Skip to content

puppet solr module, cloned from landcareresearch/solr

License

Notifications You must be signed in to change notification settings

alexskr/puppet-solr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 => 'https://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!

About

puppet solr module, cloned from landcareresearch/solr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages