diff --git a/manifests/instance.pp b/manifests/instance.pp index b55ce7e..de27bd1 100644 --- a/manifests/instance.pp +++ b/manifests/instance.pp @@ -91,7 +91,7 @@ define tinc::instance( if $tinc_address { $host_address = $tinc_address } else { - $int_name_escaped = regsubst($tinc_interface,'.','_','G') + $int_name_escaped = regsubst($tinc_interface,'\.','_','G') $host_address = getvar("::ipaddress_${int_name_escaped}") }