Skip to content

Commit

Permalink
Merge pull request #856 from misterdorm/puppet37x
Browse files Browse the repository at this point in the history
Change $port to interpolated string "${port}" to fix "Cannot use Fixnu...
  • Loading branch information
Morgan Haskel committed Sep 19, 2014
2 parents 95abc86 + 1dc3451 commit e5eb48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
}
}
if $add_listen {
if $ip and defined(Apache::Listen[$port]) {
if $ip and defined(Apache::Listen["${port}"]) {
fail("Apache::Vhost[${name}]: Mixing IP and non-IP Listen directives is not possible; check the add_listen parameter of the apache::vhost define to disable this")
}
if ! defined(Apache::Listen["${listen_addr_port}"]) and $listen_addr_port and $ensure == 'present' {
Expand Down

0 comments on commit e5eb48d

Please sign in to comment.