summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHunter Haugen <h.haugen@gmail.com>2012-10-10 17:21:21 -0700
committerHunter Haugen <h.haugen@gmail.com>2012-10-10 17:21:21 -0700
commitb7c098f89d124946bbadb9002e423eac0ff736b1 (patch)
tree3bf833bcadad39e79d11b49f4cf122d00d5f7e59 /manifests
parent2ecc40a69636000adcdf385a3f1991d36d695b9c (diff)
Change `virtual_ip` to `listen_ip`
Because it's not really virtual.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/config.pp23
1 files changed, 14 insertions, 9 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 974f213..b9caf15 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -30,7 +30,7 @@
# resource type. This is necessary to ensure the fragment is associated
# with the correct listening service instance.
#
-# [*virtual_ip*]
+# [*listen_ip*]
# The ip address the proxy binds to. Empty addresses, '*', and '0.0.0.0'
# mean that the proxy listens to all valid addresses on the system.
#
@@ -55,12 +55,17 @@
# Exporting the resource for a balancer member:
#
# haproxy::config { 'puppet00':
-# order => '20',
-# virtual_ip => $::ipaddress,
-# virtual_ip_port => '18140',
-# mode => 'tcp',
-# haproxy_config_options => {'option' => ['tcplog', 'ssl-hello-chk'],
-# 'balance' => 'roundrobin'},
+# order => '20',
+# listen_ip => $::ipaddress,
+# ports => '18140',
+# mode => 'tcp',
+# config_options => {
+# 'option' => [
+# 'tcplog',
+# 'ssl-hello-chk'
+# ],
+# 'balance' => 'roundrobin'
+# },
# }
#
# === Authors
@@ -70,11 +75,11 @@
define haproxy::config (
$ports,
$order = '20',
- $virtual_ip = $::ipaddress,
+ $listen_ip = $::ipaddress,
$mode = 'tcp',
$collect_exported = true,
$config_options = {
- 'option' => [
+ 'option' => [
'tcplog',
'ssl-hello-chk'
],