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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 340 - (show annotations) (download)
Sat Nov 20 11:52:54 2010 UTC (13 years, 4 months ago) by misc
File size: 621 byte(s)
- do not let file with passwords to be world readable 
    ( even if being readable by apache is not good either, but needed as the password is used by apache )
- use ldaps for sympa
- use the 2 new facter macro and remove the version copied everywhere
- remove hardcoded domain in bugzilla and others

1 class openssh {
2
3 # some trick to manage sftp server, who is arch dependent on mdv
4 $path_to_sftp = "$lib_dir/ssh/"
5
6 package { "openssh-server":
7 ensure => installed
8 }
9
10 service { sshd:
11 ensure => running,
12 path => "/etc/init.d/sshd",
13 subscribe => [ Package["openssh-server"], File["sshd_config"] ]
14 }
15
16 file { "sshd_config":
17 path => "/etc/ssh/sshd_config",
18 ensure => present,
19 owner => root,
20 group => root,
21 mode => 644,
22 require => Package["openssh-server"],
23 content => template("openssh/sshd_config")
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.30