Let the mail front ends handle release
[mirror/dsa-puppet.git] / modules / roles / manifests / syncproxy.pp
1 class roles::syncproxy {
2         rsync::site { 'syncproxy':
3                 source => 'puppet:///modules/roles/syncproxy/rsyncd.conf',
4                 bind   => $::hostname ? {
5                         'milanollo' => '5.153.231.9',
6                         default => ''
7                 },
8                 bind6   => $::hostname ? {
9                         'milanollo' => '2001:41c8:1000:21::21:9',
10                         default => ''
11                 },
12         }
13
14         file { '/etc/rsyncd':
15                 ensure => 'directory'
16         }
17
18         file { '/etc/rsyncd/debian.secrets':
19                 owner => 'root',
20                 group => 'mirroradm',
21                 mode => 0660,
22         }
23 }