systemd-sysv-generator expects the init info block to start with three
'#' characters, not four. If it doesn't see that, it ignores the
parameters there and systemd will fail to enable the service because it
can't find the 'Default-Start' runlevels. Fix the marker string in the
init script so that puppet can enable the service.
Change-Id: I8757ed80eb860feebc541af81c22fcdda9d8cef1
Previously this depended on other things creating a logstash user which
would enable this service to run. There is no logstash user created on
these hosts any longer and it was bad to rely on that side effect of
colocation anyways. Fix this by creating a user just for this service.
Change-Id: I6b0779552d3c47f3bf27b1548599cfc6e9461dcb
Mysql-proxy turns out too unreliable and unstable for use in
production. The packaged version on Ubuntu suffers from a critical DOS
by using telnet. This patch switches from mysql-proxy to simpleproxy,
which is just a tcp proxy to forward incoming port 3306 connections to
the subunit2sql db.
Change-Id: Iffea64aea46cc34969bbaa970e5d91bd0cc05232
This commit adds a mysql_proxy module which will setup a read-only
proxy to a mysql db. This also configures a proxy to the subunit2sql
db to run on logstash.o.o to provide read only access to the data in
the database.
Change-Id: I478baca354354347fe50074a8e3b9f66ca890d55