/[adm]/puppet/modules/openssh/manifests/symlink_user.pp
ViewVC logotype

Contents of /puppet/modules/openssh/manifests/symlink_user.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2632 - (show annotations) (download)
Mon Mar 19 19:26:46 2012 UTC (9 years, 6 months ago) by misc
File size: 394 byte(s)
rename define to match the real name
1 define symlink_user() {
2 file { "$pubkeys_directory/$name":
3 ensure => directory,
4 owner => $name,
5 group => $name,
6 mode => '0700',
7 }
8
9 file { "$pubkeys_directory/$name/authorized_keys":
10 # FIXME : fragile approximation for $HOME
11 ensure => link,
12 target => "/home/$name/.ssh/authorized_keys",
13 mode => '0700',
14 }
15 }
16
17

  ViewVC Help
Powered by ViewVC 1.1.28