GithubHelp home page GithubHelp logo

vamsee / puppet-solr Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 55.0 30.71 MB

A puppet module for setting up a multi-core solr instance

License: MIT License

Ruby 18.59% HTML 6.07% JavaScript 26.36% CSS 4.52% XSLT 30.68% Puppet 13.78%

puppet-solr's People

Contributors

cillierburger avatar hidde-jan avatar johnf avatar krionux avatar mkissam avatar pmoust avatar podarok avatar vstone avatar xbazilio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

puppet-solr's Issues

Depreciated variable "title"

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')

Exec test path not qualified

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.

template and file folders are missing

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

Could not start Service[jetty]

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:]

  • Starting Jetty servlet engine. jetty Cannot locate Java Home

JAVA_HOME is actually sat up correctly:

root@puppet-client:~# echo $JAVA_HOME
/usr/bin

Fix the download URL

This was reported as no longer working. Provide a way to configure solr version as well as download URL.

Download link to 4.6.0 no longer works.

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!

Fix solr download url

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.