vamsee / puppet-solr Goto Github PK
View Code? Open in Web Editor NEWA puppet module for setting up a multi-core solr instance
License: MIT License
A puppet module for setting up a multi-core solr instance
License: MIT License
Currently, only Jetty works, supporting Tomcat as well would be a nice addition
Puppet v3.2.2 is throwing this warning:
Warning: Variable access via 'title' is deprecated. Use '@title' instead. template[/etc/puppet/modules/solr/templates/solrconfig.xml.erb]:68
(at /etc/puppet/modules/solr/templates/solrconfig.xml.erb:68:in `result')
I'm using this module to set up Solr for use with Drupal (http://drupal.org/project/apachesolr).
The Drupal module tries to access /solr/[core-name]/admin/stats.jsp, but gets a 500 error saying that JSP support is not configured.
I'm very new to Jetty - do you have any ideas what might be wrong with my installation?
Just curious because we are using an older version of Solr on our production server currently.
In config.pp , lines 45, 54, 63 use an un qualified path for an executable. See error below:
Error: Parameter onlyif failed on Exec[solr-download]: 'test ! -d /usr/share/solr/WEB-INF && test ! -f /tmp/solr-4.9.1.tgz' is not qualified and no path was specified.
The fix is to use
/usr/bin/test
instead of test
I could create a fork but I think its easier if you just make the change. This error renders the class unusable.
When I try to work with your module, I'll get the following error:
Error: Could not find template 'solr/solr.xml.erb' at /tmp/vagrant-puppet/modules-0/solr/manifests/init.pp:98 on node vagrant-ubuntu.vagrantup.com
I think this is cause of missing template folder, but the file folder is also missing, which should lead to an error to (e.g.: https://github.com/vamsee/puppet-solr/blob/master/manifests/init.pp#L82).
Maybe you can add both folders and the missing templates?
Best regards,
Alberto
The installation was successful but Jetty did not start, below is the output from puppet agent:
Error: Could not start Service[jetty]: Execution of '/etc/init.d/jetty start' returned 1: Error: /Stage[main]/Solr/Service[jetty]/ensure: change from stopped to running failed: Could not start Service[jetty]: Execution of '/etc/init.d/jetty start' returned 1:
the cause of the issue is in /etc/init.d/jetty - when trying to run it manually it produces this
root@puppet-client:~# /etc/init.d/jetty start
grep: character class syntax is [[:space:]], not [:space:]
JAVA_HOME is actually sat up correctly:
root@puppet-client:~# echo $JAVA_HOME
/usr/bin
This was reported as no longer working. Provide a way to configure solr version as well as download URL.
Maybe convert jetty-default to template and have $java_options in solr::config
Hey!
First off, great work on this repo, it is really helpful!
However there is a problem with the solr download for 4.6.0:
In '/spec/classes/config_spec.rb' you download solr from 'http://www.eng.lsu.edu/mirrors/apache/lucene/solr/4.6.0/solr-4.6.0.tgz'. This link no longer works. You need to either download it from elsewhere (eg. http://archive.apache.org/dist/lucene/solr/4.6.0/solr-4.6.0.tgz) or upgrade to 4.7.0 (http://www.eng.lsu.edu/mirrors/apache/lucene/solr/4.7.0/solr-4.7.0.tgz).
Thanks again for the great work!
Seems like the module doesn't work properly when using with the latest releases
Hi,
the module defaults to installing version 4.4.0, but this version is no longer available on the mirror, only versions 4.5.0, 4.5.1, 4.6.0.
I tried setting it to 4.6.0, it installs and it comes up fine, however I do not yet know if it completely works, I'll keep you posted.
Other than that, great module, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.