projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
25cee51
)
bacula cluster moved to postgresql-manda-01
author
Julien Cristau
<jcristau@debian.org>
Mon, 23 Sep 2019 11:50:37 +0000
(13:50 +0200)
committer
Julien Cristau
<jcristau@debian.org>
Mon, 23 Sep 2019 11:50:37 +0000
(13:50 +0200)
modules/ferm/manifests/per_host.pp
patch
|
blob
|
history
diff --git
a/modules/ferm/manifests/per_host.pp
b/modules/ferm/manifests/per_host.pp
index
10b99f8
..
ed818f1
100644
(file)
--- a/
modules/ferm/manifests/per_host.pp
+++ b/
modules/ferm/manifests/per_host.pp
@@
-146,17
+146,6
@@
class ferm::per_host {
))
| EOF
}
))
| EOF
}
- ferm::rule { 'dsa-postgres-bacula':
- description => 'Allow postgress access to cluster: bacula',
- domain => '(ip ip6)',
- rule => @("EOF"/$)
- &SERVICE_RANGE(tcp, 5437, (
- ${ join(getfromhash($deprecated::allnodeinfo, 'dinis.debian.org', 'ipHostNumber'), " ") }
- ${ join(getfromhash($deprecated::allnodeinfo, 'storace.debian.org', 'ipHostNumber'), " ") }
- \$HOST_PGBACKUPHOST
- ))
- | EOF
- }
ferm::rule { 'dsa-postgres-dedup':
description => 'Allow postgress access to cluster: dedup',
domain => '(ip ip6)',
ferm::rule { 'dsa-postgres-dedup':
description => 'Allow postgress access to cluster: dedup',
domain => '(ip ip6)',
@@
-217,6
+206,19
@@
class ferm::per_host {
| EOF
}
}
| EOF
}
}
+ postgresql-manda-01: {
+ ferm::rule { 'dsa-postgres-bacula':
+ description => 'Allow postgress access to cluster: bacula',
+ domain => '(ip ip6)',
+ rule => @("EOF"/$)
+ &SERVICE_RANGE(tcp, 5432, (
+ ${ join(getfromhash($deprecated::allnodeinfo, 'dinis.debian.org', 'ipHostNumber'), " ") }
+ ${ join(getfromhash($deprecated::allnodeinfo, 'storace.debian.org', 'ipHostNumber'), " ") }
+ \$HOST_PGBACKUPHOST
+ ))
+ | EOF
+ }
+ }
seger: {
ferm::rule { 'dsa-postgres-backup':
description => 'Allow postgress access',
seger: {
ferm::rule { 'dsa-postgres-backup':
description => 'Allow postgress access',