salt-logstash
salt-logstash copied to clipboard
Make it work for debian
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:
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 ?
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.