changed server way
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@921 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
parent
99410e1295
commit
bcb0140f70
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue