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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2621 - (hide annotations) (download)
Mon Mar 19 16:56:11 2012 UTC (9 years, 6 months ago) by misc
Original Path: puppet/modules/openssh/manifests/symlink.pp
File size: 394 byte(s)
split symlink into a separate file
1 misc 2621 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