aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-29 13:51:45 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-29 13:51:45 +0000
commitbcb0140f70d3ab4bebc028e28945b3f44926659a (patch)
tree917d2af2216360de96f0e8b2f7dc72dae05ef1fe /manifests
parent99410e12952b22d8cd1206e207c709a96c82ebcc (diff)
downloadpuppet-sshd-bcb0140f70d3ab4bebc028e28945b3f44926659a.tar.gz
puppet-sshd-bcb0140f70d3ab4bebc028e28945b3f44926659a.tar.bz2
changed server way
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@921 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 69b5f86..146bcf2 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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,
}
}