Add mirror-umn to syncproxy
[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                         default => ''
9                 },
10                 bind6   => $::hostname ? {
11                         'milanollo' => '2001:41c8:1000:21::21:9',
12                         'mirror-isc' => '2001:4f8:8:36::1deb:21',
13                         'mirror-umn' => '2607:ea00:101:3c0b::1deb:216',
14                         default => ''
15                 },
16         }
17
18         file { '/etc/rsyncd':
19                 ensure => 'directory'
20         }
21
22         file { '/etc/rsyncd/debian.secrets':
23                 owner => 'root',
24                 group => 'mirroradm',
25                 mode => 0660,
26         }
27 }