summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorGary Larizza <gary@puppetlabs.com>2012-05-09 16:35:51 -0700
committerGary Larizza <gary@puppetlabs.com>2012-05-09 16:35:51 -0700
commit98aaa48b6759c05a9e7bb1cab3d6f178658bc450 (patch)
tree5280fff84d0f0d2967671119acaedc60a5fa9a4b /manifests
parentc4799e59b9d9891e6c296c554a11814f14a5abfc (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.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
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'],
}
}