Allow user-defined service restart parameter.
This allows, for example, use of /etc/init.d/haproxy reload to restart haproxy when config changes, which: - includes syntax checks - restarts without interruption to service
Change the order concat fragments of listening services are collected.
Correct the order with which concat fragments of listening services are collected. The previous implementation could result to wrong configuration files. Example: Suppose you have two backend members named lxbrf23, lxbrf24 and the listening services: -demoservice -demoservice-mess -demoservice-mess-it -demoservice-mess-it-even -demoservice-mess-it-even-more The concat fragments will be alphanumerically ordered and will result to a wrong configuration file.
Reference release 1.0.0 in fixtures
...since current master of puppetlabs-concat breaks tests.
Update test examples to check for the added '-01'
...which recently was introduced to support services with minus in their name.
Merge pull request #60 from mmz-srf/support-minus-in-service-names
Support minus in service names
(doc) Standardized haproxy module docs
I am working on an haproxy SSL patch, and in the process found the docs in the modules adhered to different spacing rules. This patch simply standardizes all of the modules.
(MODULES-433) Moved from #include_class to #contain_class
Removed per the DEPRECATION warning [1]. Since this repo does not include a
Gemfile.lock, and the Gemfile does not have version requirements, `bundle`
will install the most recent upstream version of the gems.
I personally suggest adding the Gemfile.lock to the repo. This will guarantee
the exact gem deps are installed on each execution of `bundle`. However, for
now will keep things as is, and simply added a .gitignore.
[1] DEPRECATION: include_class is deprecated. Use contain_class instead. Called from /Users/jodewey/.rvm/gems/ruby-1.9.3-
p484/gems/rspec-puppet-1.0.1/lib/rspec-puppet/matchers/include_class.rb:7:in `block (2 levels) in <module:ManifestMatchers>'.Merge pull request #68 from retr0h/retr0h/standardize-module-docs
Standardized module docs
Merge pull request #67 from retr0h/retr0h/deprecation-warnings
Moved from `#include_class` to `#contain_class`
Merge pull request #70 from aboe76/archlinux_support
Archlinux Support added.
Pin Rake to ~> 10.1.0 to support Ruby 1.8.7
The latest Rake update requires Ruby >= 1.9. This update fixes the failing 1.8.7 tests by pinning Rake to the last supported version on ruby 1.8.7.
Merge pull request #77 from blkperl/fix_travis
Pin Rake to ~> 10.1 to support Ruby 1.8.7
Merge pull request #78 from blkperl/add_travis_image
Add Travis build status to README
Remove redundant params section
The parameters for 'Redhat', 'Debian' and 'Archilinux were identical and have been merged.
Merge pull request #57 from songkick/restart-command
Allow user-defined service restart parameter.
Merge pull request #66 from toabctl/add-missing-license
Add missing LICENSE file
Merge pull request #79 from kurthuwig/remove-redundant-parameters
Remove redundant params section
Allow the fact to manage but disable the haproxy service
In an active/passive scenario, as a user I'd like the configuration to be set and the package to be installed without the service being started. The `if $enable` (l81) prevents this. Today, if one sets `manage_service = true` and `enable = false`, it will result in a catalog compilation issue, due to the `Concat[/etc/haproxy/haproxy.cfg']` dependency on line 134 not being met.
Update module for install/config/service pattern & deprecate parameters
This module needs to follow the BGTM (http://docs.puppetlabs.com/guides/module_guides/bgtm.html#) and this is helping.
This adds basic single node and multi node tests, and will run the different tests depending on which nodeset is chosen. There is no default nodeset yet.
Merge pull request #80 from hunner/do_conf_on_enable_false
Rewrite with install/config/service classes, and correct parameter naming.
ELS-1058 haproxy bind options parameter
ELS-1058 rspec for haproxy::listen bind_options parameter
Merge pull request #82 from misterdorm/bindoptions
Add haproxy::listen bind_options parameter for setting arbitrary 'bind' options