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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2703 - (hide annotations) (download)
Mon Apr 2 11:05:27 2012 UTC (9 years, 5 months ago) by misc
File size: 406 byte(s)
split a module pubkeys_directory, so we can include it from symlink_user and make sure everything is correctly declared
1 misc 2703 class openssh::pubkeys_directory {
2     $pubkeys_directory = '/var/lib/pubkeys'
3     file { $pubkeys_directory:
4     ensure => directory,
5     }
6    
7     file { "$pubkeys_directory/root":
8     ensure => directory,
9     mode => '0700',
10     }
11    
12     file { "$pubkeys_directory/root/authorized_keys":
13     ensure => link,
14     target => '/root/.ssh/authorized_keys',
15     mode => '0700',
16     }
17     }

  ViewVC Help
Powered by ViewVC 1.1.28