A puppet module for installing solr.
Repository Puppet Puppet Download
puppet module install landcareresearch-solr --version 6.0.7
Installs and configures apache solr and runs the embedded jetty service. http://lucene.apache.org/solr/
Supports systemd
This module utilizes the params concept so all default parameters are configured through solr::params.
The solr puppet module no longer manages java. However, java is a requirement for installation.
Uses the defaults
include solr
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.
file {'/tmp/schema.xml':
ensure => file,
content => inline_template('....'),
}
solr::core{'test':
schema_src_file => '/tmp/schema.xml',
require => File ['/tmp/schema.xml'],
}
This defined type allows shared libraries to be installed for use by solr.
solr::shared_lib{'jts':
url => 'http://search.maven.org/remotecontent?filepath=com/vividsolutions/jts/1.13/jts-1.13.jar'
}
Works with debian and redhat based OS's.
The module is open source and available on bitbucket. Please fork!