diff options
author | Hunter Haugen <h.haugen@gmail.com> | 2012-11-19 13:03:36 -0800 |
---|---|---|
committer | Hunter Haugen <h.haugen@gmail.com> | 2012-11-19 13:03:36 -0800 |
commit | 088dd3aa28996ed2b690454f72b0c83f73790b8b (patch) | |
tree | fe77ded825d0ade6473e70ce6f0a00476cd85949 | |
parent | af60ab3b4d49583c2ca3e1be467b940954b17446 (diff) |
Order listening services better
With the recent additions of multiple-listen-service ordering, the order
using the concat-fragment depended on the end-of-line vs other
alphanumeric characters. This is not actually the case with the concat
module, so this fixes ordering for services under a small set of edge
cases.
This adds the smaller edge case of if a balancermember begins with "00".
-rw-r--r-- | manifests/listen.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/listen.pp b/manifests/listen.pp index ee9e320..00636e3 100644 --- a/manifests/listen.pp +++ b/manifests/listen.pp @@ -82,7 +82,7 @@ define haproxy::listen ( ) { # Template uses: $name, $ipaddress, $ports, $options concat::fragment { "${name}_listen_block": - order => "20-${name}", + order => "20-${name}-00", target => '/etc/haproxy/haproxy.cfg', content => template('haproxy/haproxy_listen_block.erb'), } |