Allow to configure haproxy daemon's status
authorMichele Baldessari <michele@acksyn.org>
Wed, 19 Apr 2017 10:56:46 +0000 (12:56 +0200)
committerMichele Baldessari <michele@acksyn.org>
Wed, 19 Apr 2017 10:58:35 +0000 (12:58 +0200)
commit84d3a82476ffe2853a734be1d9403f2ab41dbf35
treeb449c9ffbfa0db318a9d340a0fc9356cae63eb4c
parent97aac6a58c30d044cc04f67829d74c98f56d28ba
Allow to configure haproxy daemon's status

Currently we hard-code the fact that haproxy starts as a daemon.
When running haproxy in a container we need this to be configurable
because the haproxy process will be pid number 1.

We are not changing the current semantics which have the 'daemon'
option always set, but we are allowing its disabling.

Change-Id: I51c482b70731f15fee4025bbce14e46a49a49938
manifests/haproxy.pp