Commit Graph

4 Commits

Author SHA1 Message Date
Colleen Murphy 8acf255563 Fix SysV init script for systemd compatibility
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
2018-07-12 13:33:02 +02:00
Clark Boylan 7e8b03762f Create a simpleproxy user
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
2016-05-27 10:40:52 -07:00
Matthew Treinish ea8e6a7389 Switch mysql-proxy to simpleproxy
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
2014-12-12 15:40:54 -05:00
Matthew Treinish d6d0af3b25 Add mysql-proxy to enable read-only access to a db
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
2014-12-05 19:27:23 +00:00