diff options
author | Gary Larizza <gary@puppetlabs.com> | 2012-05-09 16:35:51 -0700 |
---|---|---|
committer | Gary Larizza <gary@puppetlabs.com> | 2012-05-09 16:35:51 -0700 |
commit | 98aaa48b6759c05a9e7bb1cab3d6f178658bc450 (patch) | |
tree | 5280fff84d0f0d2967671119acaedc60a5fa9a4b | |
parent | c4799e59b9d9891e6c296c554a11814f14a5abfc (diff) |
Ensure hasrestart parameter with haproxy service
The haproxy service should have the hasrestart parameter defaulted to
true. Previously, this was not the case. This commit establishes that.
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 6dde629..a0f5265 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -103,8 +103,9 @@ class haproxy ( true => true, false => false, }, - name => 'haproxy', - hasstatus => true, - require => Concat['/etc/haproxy/haproxy.cfg'], + name => 'haproxy', + hasrestart => true, + hasstatus => true, + require => Concat['/etc/haproxy/haproxy.cfg'], } } |