aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-04-20Merge "Do not make RabbitMQ listen on public vip"Jenkins1-1/+1
2015-04-16Merge "Loadbalancer: Add support for Redis"Jenkins3-0/+95
2015-04-16Do not make RabbitMQ listen on public vipYanis Guenane1-1/+1
Currently RabbitMQ is listening on both private vip and public vip. There is no need for RabbitMQ to listen on the public vip, so we remove it. Change-Id: I82ea2e1e18b7710ae391ffe4903439a9330b1461
2015-04-16Loadbalancer: Add support for RedisYanis Guenane3-0/+95
Add support for Redis in the loadbalancer setup. Redis loadbalancing system is particular as it does not provide clustering capabilities yet, hence this pattern[1] will be applied. [1] https://github.com/falsecz/haredis Change-Id: I80a6c284af9eceb6b669a03c5d93256261523331
2015-04-07Rethink the backup option for GaleraYanis Guenane1-8/+19
Initial logic for the backup option in the HAProxy was wrong and wouldn't do what expected. Current logic is implemented as follow 1. User passes an array of Galera IP addresses 2. User passes an array of Galera hostnames 3. User passes a Galera master IP and Galera master hostname Result : * Set a backend line with Galera master IP and Galera master hostname * Remove those data from the two arrays of IP and Hostnames * Set backend lines for whatever is left on those array with the backup option on Change-Id: Idfd72de4fafdce2a9c16945961fee996a98049b7
2015-04-01Fix backend line syntaxYanis Guenane1-1/+31
Currently since only one node was the backend until this commit[1], servername was deducted from the $::hostname fact. Since commit[1], several node can be the backend for a service, so we need to provide their servername also. The current situation result with HAProxy refusing to start because current lint look like server 192.0.2.2:8776 check fall 5 inter 2000 rise 2 when they really should look like server MYHOSTNAME 192.0.2.2:8776 check fall 5 inter 2000 rise 2 Resulting in error message : 'server' expects <name> and <addr>[:<port>] as arguments. [1] https://review.openstack.org/#/c/168044/ Change-Id: I75424cf02f2d24308f33105f67d82a8d411e372d
2015-03-31Rename controller_host to controller_hostsYanis Guenane1-19/+35
Since we can have many controller_hosts backend in a setup, we use the plural term to define it. Change-Id: I2a46c250bc3325eef9c3128cac2ab45c88b1ae75
2015-03-31loadbalancer: Enable backup mode for GaleraYanis Guenane1-1/+11
This commit allows to enable backup mode for non master galera node. Change-Id: I8b27f470ae171d77c8c8283797ff1502ef44e17f
2015-03-18Merge "loadbalancer: drop undef on required params"Jenkins1-5/+5
2015-03-18loadbalancer: drop undef on required paramsDan Prince1-5/+5
This should allow puppet to validate the required params. Change-Id: I16b6ae1a9fbcb388bfe5a2a95022a2fdffbf0cd1
2015-03-17spec: updates for rspec-puppet 2.x and rspec 3.xGael Chamoulaud1-5/+1
- This patch aim to update our specs test in order to work with the rspec-puppet release 2.0.0, in the mean time, we update rspec syntax order to be prepared for rspec 3.x move. Change-Id: If67d5d39d7b94785c811a16703cdfe9782df2d24 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-03-17Add Puppet 4.x lint checksGael Chamoulaud3-38/+50
- This changes the puppet-lint requirement to 1.1.x, so that we can use puppet-lint plugins. Most of these plugins are for 4.x compat, but some just catch common errors. Change-Id: I2660b960b6ef696bd5dc8a6965b4a9aa25409b66 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-03-13loadbalancer: document required parametersDan Prince1-5/+5
Removes the (optional) comment from some of the required parameters. Change-Id: I0f2c96e0d77dfdb96d6b246c5f24511773592623
2015-02-06First commit on Stackforge: fix lint & Gerrit configEmilien Macchi2-1/+101
* Fix Gerrit config to be able to contribute at this module. * Fix lint issues in adding documentation for tripleo::loadbalancer Change-Id: If4d40962a4e5612410df441e8862e1870ec123c0
2015-02-04Drop package_providerDan Prince1-39/+0
The Package provider scope needs to be global so this class won't really help us much. Removing for now.
2015-02-04Merge pull request #3 from dprince/norpmEmilien Macchi2-0/+75
Add norpm package provider and helper class.
2015-02-04Add norpm package provider and helper class.Dan Prince2-0/+75
This patch adds a new norpm package provider that extends the Puppet provided default RPM package provider and stubs out all of the package install, update, purging so that no packages will get installed. This may be useful when deploying pre-built images where we effectively just want to use Puppet for configuration (not installation). Includes a ::tripleo::package_provider class that will assist in cleanly disabling package installation via hiera.
2015-02-03Merge pull request #2 from enovance/mysqlDan Prince7-0/+778
First implementation of tripleo::database::mysql
2015-02-02First implementation of tripleo::database::mysqlEmilien Macchi7-0/+778
2015-02-02Moved loadbalancer.pp to top level.Dan Prince1-0/+0
2015-02-02Merge pull request #1 from dprince/loadbalancerEmilien Macchi1-0/+419
Add tripleo::loadbalancer.
2015-02-02Add tripleo::loadbalancer.Dan Prince1-0/+419
This class configures an HAProxy/keepalived setup for TripleO.
2015-02-02README: basic words for now.Emilien Macchi1-142/+2
2015-02-02Add basic structure for a Puppet moduleEmilien Macchi8-30/+225
2015-02-02Add .gitreview fileEmilien Macchi1-0/+4
We prepare the repo for being hosting by OpenStack infra.
2015-02-02Initial commitEmilien Macchi2-0/+204