changed server way

git-svn-id: https://svn/ipuppet/trunk/modules/sshd@921 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
mh 2008-02-29 13:51:45 +00:00
parent 99410e1295
commit bcb0140f70

View file

@ -85,9 +85,9 @@ define sshd::deploy_auth_key(
}
$real_source = $source ? {
'' => [ "sshd/authorized_keys/${name}",
"dist/sshd/authorized_keys/${name}"],
default => $source,
'' => [ "puppet://$server/sshd/authorized_keys/${name}",
"puppet://$server/dist/sshd/authorized_keys/${name}"],
default => "puppet://$server/$source",
}
file {$real_target:
@ -102,6 +102,6 @@ define sshd::deploy_auth_key(
owner => $user,
group => $real_group,
mode => 600,
source => "puppet://$server/$real_source",
source => $real_source,
}
}