diff --git a/manifests/vpn_net/host.pp b/manifests/vpn_net/host.pp index 89ae088..c71463f 100644 --- a/manifests/vpn_net/host.pp +++ b/manifests/vpn_net/host.pp @@ -5,7 +5,7 @@ define tinc::vpn_net::host( $source_is_prefix = false, $vpn_net ){ - nametinc = regsubst("${name}",'[._-]+','','G') + $nametinc = regsubst("${name}",'[._-]+','','G') file { "/etc/tinc/${vpn_net}/hosts/${nametinc}": ensure => $ensure,