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

Diff of /puppet/modules/openssh/manifests/ssh_keys_from_ldap.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2702 by misc, Mon Apr 2 11:05:25 2012 UTC revision 2703 by misc, Mon Apr 2 11:05:27 2012 UTC
# Line 9  class openssh::ssh_keys_from_ldap($symli Line 9  class openssh::ssh_keys_from_ldap($symli
9    
10      package { 'python-ldap': }      package { 'python-ldap': }
11    
12      $pubkeys_directory = '/var/lib/pubkeys'      include openssh::pubkeys_directory
     file { $pubkeys_directory:  
         ensure => directory,  
     }  
   
     file { "$pubkeys_directory/root":  
         ensure => directory,  
         mode   => '0700',  
     }  
   
     file { "$pubkeys_directory/root/authorized_keys":  
         ensure => link,  
         target => '/root/.ssh/authorized_keys',  
         mode   => '0700',  
     }  
   
13      symlink_user { $symlink_users: }      symlink_user { $symlink_users: }
14    
15      $ldap_pwfile = '/etc/ldap.secret'      $ldap_pwfile = '/etc/ldap.secret'

Legend:
Removed from v.2702  
changed lines
  Added in v.2703

  ViewVC Help
Powered by ViewVC 1.1.30