salt-logstash icon indicating copy to clipboard operation
salt-logstash copied to clipboard

Make it work for debian

Open arthurzenika opened this issue 11 years ago • 2 comments

Under debian some packages have different names.

To get it to work(ish) I've modified kibana.sls :

-ruby-bundler: +bundler:

-/etc/apache2/sites-available/logstash: +/etc/apache2/sites-available/logstash.conf:

+/usr/sbin/a2enmod passenger:

  • cmd:

    • run
    • unless: ls -l /etc/apache2/mods-enabled | grep passenger
    • require:
  •  - pkg: libapache2-mod-passenger
    

    apache2:

  • pkg:

    • installed

service:

arthurzenika avatar Jul 18 '13 15:07 arthurzenika

I can't access the kibana webapp through apache (forbiden and can't find out why). It works by doing cd /srv/kibana/ ; ruby kibana.rb, and then accessing it through the specific port (which is not ideal). But this is probably not a problem with the salt recipe... or is it ?

arthurzenika avatar Jul 18 '13 15:07 arthurzenika

Oh, I forgot, I did "apt-get -uVf install ruby1.9.1-dev=1.9.3.194-8.1+b1" but I think there is already a pull request for that.

arthurzenika avatar Jul 18 '13 15:07 arthurzenika