Skip to content

Commit

Permalink
fixed type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
setola committed Aug 22, 2014
1 parent 8346bd2 commit 9a39347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@
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' {
::apache::listen { $listen_addr_port: }
if ! defined(Apache::Listen["$listen_addr_port"]) and $listen_addr_port and $ensure == 'present' {
::apache::listen { "$listen_addr_port": }
}
}
if ! $ip_based {
Expand Down

0 comments on commit 9a39347

Please sign in to comment.