$from_space = $from_hosts.join(' ')
if $key {
- @@concat::fragment { "ssh::authorized_key::${name} ${target_user} ${from}":
+ @@concat::fragment { "ssh::authorized_key::${name} ${target_user} from ${::hostname}":
tag => "ssh::authorized_key::fragment::${collect_tag}::${target_user}",
target => "/etc/ssh/userkeys/${target_user}",
order => '200',
notify{ "Warning, ssh key for ${name}, ${target_user} not defined (yet?).": }
}
- @@ferm::rule { "ssh-${collect_tag}_${target_user}-${name}":
+ @@ferm::rule { "ssh-${collect_tag}_${target_user}-${name}_from_${::hostname}":
tag => "ssh::authorized_key::ferm::${collect_tag}::${target_user}",
description => "allow ssh for ssh to ${target_user}",
domain => '(ip ip6)',