projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename new cert files
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
syncproxy.pp
diff --git
a/modules/roles/manifests/syncproxy.pp
b/modules/roles/manifests/syncproxy.pp
index
080196f
..
9a988d0
100644
(file)
--- a/
modules/roles/manifests/syncproxy.pp
+++ b/
modules/roles/manifests/syncproxy.pp
@@
-1,6
+1,14
@@
class roles::syncproxy {
rsync::site { 'syncproxy':
source => 'puppet:///modules/roles/syncproxy/rsyncd.conf',
class roles::syncproxy {
rsync::site { 'syncproxy':
source => 'puppet:///modules/roles/syncproxy/rsyncd.conf',
+ bind => $::hostname ? {
+ 'milanollo' => '5.153.231.9',
+ default => ''
+ },
+ bind6 => $::hostname ? {
+ 'milanollo' => '2001:41c8:1000:21::21:9',
+ default => ''
+ },
}
file { '/etc/rsyncd':
}
file { '/etc/rsyncd':
@@
-10,6
+18,6
@@
class roles::syncproxy {
file { '/etc/rsyncd/debian.secrets':
owner => 'root',
group => 'mirroradm',
file { '/etc/rsyncd/debian.secrets':
owner => 'root',
group => 'mirroradm',
- mode => 066
4
,
+ mode => 066
0
,
}
}
}
}