Add klecker to the syncproxy role
[mirror/dsa-puppet.git] / modules / roles / manifests / syncproxy.pp
1 class roles::syncproxy {
2         rsync::site { 'syncproxy':
3                 content => template('roles/syncproxy/rsyncd.conf.erb'),
4                 bind   => $::hostname ? {
5                         'milanollo' => '5.153.231.9',
6                         'mirror-isc' => '149.20.20.21',
7                         'mirror-umn' => '128.101.240.216',
8                         'klecker' => '130.89.148.10',
9                         default => ''
10                 },
11                 bind6   => $::hostname ? {
12                         'milanollo' => '2001:41c8:1000:21::21:9',
13                         'mirror-isc' => '2001:4f8:8:36::1deb:21',
14                         'mirror-umn' => '2607:ea00:101:3c0b::1deb:216',
15                         'klecker' => '2001:610:1908:b000::148:10',
16                         default => ''
17                 },
18         }
19
20         file { '/etc/rsyncd':
21                 ensure => 'directory'
22         }
23
24         file { '/etc/rsyncd/debian.secrets':
25                 owner => 'root',
26                 group => 'mirroradm',
27                 mode => 0660,
28         }
29 }