Skip to content

Commit

Permalink
Use the fact() function
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl authored and mmoll committed Apr 5, 2019
1 parent 8828a10 commit 016d196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/config/apache.pp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
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
}
Expand Down

0 comments on commit 016d196

Please sign in to comment.