Project

General

Profile

« Previous | Next » 

Revision 016d196d

Added by Ewoud Kohl van Wijngaarden about 5 years ago

Use the fact() function

View differences:

manifests/config/apache.pp
if $use_vhost {
# Check the value in case the interface doesn't exist, otherwise listen on all interfaces
if $listen_on_interface and $listen_on_interface in split($::interfaces, ',') {
$listen_interface = inline_template("<%= @ipaddress_${listen_on_interface} %>")
$listen_interface = fact("ipaddress_${listen_on_interface}")
} else {
$listen_interface = undef
}

Also available in: Unified diff