Skip to content

Commit

Permalink
Merge pull request #828 from setola/typefix
Browse files Browse the repository at this point in the history
Typefix
  • Loading branch information
Morgan Haskel committed Aug 22, 2014
2 parents 8346bd2 + 118e747 commit 6af0c50
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 6af0c50

Please sign in to comment.