more amazon networks to blacklist
[mirror/dsa-puppet.git] / modules / roles / manifests / sso.pp
1 class roles::sso {
2         ssl::service { 'sso.debian.org':
3                 notify  => Exec['service apache2 reload'],
4                 key => true,
5         }
6
7         ensure_packages ( [
8                 "slapd",
9                 ], {
10                 ensure => 'installed',
11         })
12         service { 'slapd':
13                 ensure  => running,
14         }
15         file { '/etc/ldap/slapd.d':
16                 ensure => absent,
17                 force  => true,
18                 notify  => Service['slapd'],
19         }
20         file { '/etc/ldap/slapd.conf':
21                 source => 'puppet:///modules/roles/sso/slapd.conf',
22                 notify  => Service['slapd'],
23         }
24         file { '/etc/ldap/slapd-ftmg.conf':
25                 source => 'puppet:///modules/roles/sso/slapd-ftmg.conf',
26                 notify  => Service['slapd'],
27         }
28         file { '/etc/default/slapd':
29                 source => 'puppet:///modules/roles/sso/default-slapd',
30                 notify  => Service['slapd'],
31         }
32
33
34         ssl::service { 'ftmg.sso.debian.org':
35                 notify  => Exec['service apache2 reload'],
36                 key => true,
37         }
38 }