forked from glarizza/puppet-haproxy
-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #610 from traylenator/ports
Allow ports parameters as Stdlib::Ports
- Loading branch information
Showing
11 changed files
with
173 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ | |
# | ||
# haproxy::frontend { 'puppet00': | ||
# ipaddress => $::ipaddress, | ||
# ports => '18140', | ||
# ports => [18140], | ||
# mode => 'tcp', | ||
# bind_options => 'accept-proxy', | ||
# options => { | ||
|
@@ -91,7 +91,7 @@ | |
# Gary Larizza <[email protected]> | ||
# | ||
define haproxy::frontend ( | ||
Optional[Variant[Array, String]] $ports = undef, | ||
Optional[Haproxy::Ports] $ports = undef, | ||
Optional[Variant[String, Array]] $ipaddress = undef, | ||
Optional[Hash] $bind = undef, | ||
Optional[Enum['tcp', 'http', 'health']] $mode = undef, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ | |
# @example | ||
# haproxy::listen { 'puppet00': | ||
# ipaddress => $::ipaddress, | ||
# ports => '18140', | ||
# ports => [18140], | ||
# mode => 'tcp', | ||
# options => { | ||
# 'option' => [ | ||
|
@@ -94,7 +94,7 @@ | |
# Gary Larizza <[email protected]> | ||
# | ||
define haproxy::listen ( | ||
Optional[Variant[Array, String]] $ports = undef, | ||
Optional[Haproxy::Ports] $ports = undef, | ||
Optional[Variant[String, Array]] $ipaddress = undef, | ||
Optional[Hash] $bind = undef, | ||
Optional[Enum['tcp', 'http', 'health']] $mode = undef, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.