class roles::syncproxy {
rsync::site { 'syncproxy':
- source => 'puppet:///modules/roles/syncproxy/rsyncd.conf',
+ content => template('roles/syncproxy/rsyncd.conf.erb'),
bind => $::hostname ? {
'milanollo' => '5.153.231.9',
+ 'mirror-isc' => '149.20.20.21',
+ 'mirror-umn' => '128.101.240.216',
default => ''
- }
+ },
bind6 => $::hostname ? {
'milanollo' => '2001:41c8:1000:21::21:9',
+ 'mirror-isc' => '2001:4f8:8:36::1deb:21',
+ 'mirror-umn' => '2607:ea00:101:3c0b::1deb:216',
default => ''
- }
+ },
}
file { '/etc/rsyncd':
file { '/etc/rsyncd/debian.secrets':
owner => 'root',
group => 'mirroradm',
- mode => 0664,
+ mode => 0660,
}
}