Skip to content

Commit

Permalink
Merge pull request puppetlabs#208 from arteal/patch-1
Browse files Browse the repository at this point in the history
Fix port parameter name on haproxy::peer defined type
  • Loading branch information
tphoney committed Dec 10, 2015
2 parents 91c7ada + 01b0c8d commit 2ee0695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ Sets up a peer entry inside the peers configuration block in haproxy.cfg.

* `peers_name`: *Required.* Specifies the peer in which to add the load balancer. Valid options: a string containing the name of an HAProxy peer.

* `ports`: *Required.* Specifies the port on which the load balancer sends connections to peers. Valid options: a string containing a port number.
* `port`: *Required.* Specifies the port on which the load balancer sends connections to peers. Valid options: a string containing a port number.

* `server_names`: *Required unless the `collect_exported` parameter of your `haproxy::peers` resource is set to `true`.* Sets the name of the peer server as listed in the peers configuration block. Valid options: a string or an array. If you pass an array, it must contain the same number of elements as the array you pass to `ipaddresses`. Puppet pairs up the elements from both arrays and creates a peer for each pair of values. Default: the value of the `$::hostname` fact.

Expand Down

0 comments on commit 2ee0695

Please sign in to comment.