Commit Graph

5 Commits

Author SHA1 Message Date
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
Andrey Nikitin 1bf847c600 Indentation of the class parameter is refactored
Indentation of the parameter changed
to follow Puppet Style Guide recommendation [0].

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: Ibf31967b471e146d7241c8b56e2974335335d7fb
2016-03-22 12:50:33 +03:00
Jeremy Stanley 2269a0b22b Add standard puppet module files and .gitreview
This module has been split out from system-config, and additional
files are added to create a proper puppet module.

The spec:
http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html

Change-Id: Ifd6e7fa139257ad4dfd5a2605f7dbb1526e27136
2015-01-29 20:29:30 +00: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