Forge Home

drupal_solr

A module for installing Solr for Drupal.

15,047 downloads

6,756 latest version

3.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

  • 4.0.1 (latest)
  • 4.0.0
  • 3.0.0
  • 3.0.0-beta
  • 2.0.0
  • 2.0.0-beta (deleted)
  • 1.0.1
  • 1.0.0
  • 0.0.1
released May 22nd 2017

Start using this module

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

Add this module to your Puppetfile:

mod 'zivtech-drupal_solr', '4.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add zivtech-drupal_solr
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install zivtech-drupal_solr --version 4.0.1

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, drupal

Documentation

zivtech/drupal_solr — version 4.0.1 May 22nd 2017

Drupal Solr

This project sets up an instance of Solr configured to run with SOLR.

It installs SOLR on tomcat6 on Ubuntu based systems. Patches to support other architectures are welcome. Patches to add testing are especially welcome.

Installation

Just run puppet module install zivtech/drupal_solr.

Basic usage

include drupal_solr

Advanced usage

class { 'drupal_solr':
  user => 'tomcat6',
  group => 'some_website_admin_group',
}

Dependencies

This module relies on puppetlabs/vcsrepo and rodjek/logrotate.

Using the setup once installed

Creating a solr instance

This module supports creating multiple solr instances all of which are added to and managed by tomcat. Once you use this module to install solr you can create specific instances like so:

create-solr-instance mysite 7 sapi

This will create a solr instance with the search_api schema appropriate for Drupal 7.

Removing a solr instance

You can remove the solr instance from tomcat and delete all data inside the index with the following command:

remove-solr-instance mysite