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

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

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

revision 1638 by misc, Fri Jan 14 03:53:42 2011 UTC revision 1639 by boklm, Tue May 24 13:10:56 2011 UTC
# Line 56  class openssh { Line 56  class openssh {
56              mode => 700,              mode => 700,
57          }          }
58    
59            $sshkey2file = "/usr/local/bin/ldap-sshkey2file.py"
60          $ldap_pwfile = "/etc/ldap.secret"          $ldap_pwfile = "/etc/ldap.secret"
61          file { '/usr/local/bin/ldap-sshkey2file.py':          file { $sshkey2file:
62              ensure => present,              ensure => present,
63              owner => root,              owner => root,
64              group => root,              group => root,
# Line 65  class openssh { Line 66  class openssh {
66              content => template("restrictshell/ldap-sshkey2file.py"),              content => template("restrictshell/ldap-sshkey2file.py"),
67              require => Package['python-ldap']              require => Package['python-ldap']
68          }          }
69            cron { 'sshkey2file':
70                command => $sshkey2file,
71                hour => "*",
72                minute => */10,
73                user => root,
74                environment => "MAILTO=root",
75                require => File[$sshkey2file],
76            }
77      }      }
78  }  }

Legend:
Removed from v.1638  
changed lines
  Added in v.1639

  ViewVC Help
Powered by ViewVC 1.1.30