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
(parent:
305f667
)
add danzi/debconf pg cluster as backup source
author
Julien Cristau
<jcristau@debian.org>
Sun, 1 Oct 2017 18:07:27 +0000
(20:07 +0200)
committer
Julien Cristau
<jcristau@debian.org>
Sun, 1 Oct 2017 18:07:27 +0000
(20:07 +0200)
modules/postgres/manifests/backup_source.pp
patch
|
blob
|
history
diff --git
a/modules/postgres/manifests/backup_source.pp
b/modules/postgres/manifests/backup_source.pp
index
835d214
..
0c9407b
100644
(file)
--- a/
modules/postgres/manifests/backup_source.pp
+++ b/
modules/postgres/manifests/backup_source.pp
@@
-36,8
+36,15
@@
class postgres::backup_source {
pg_cluster => 'debbugs',
}
}
+ if $::hostname in [danzi] {
+ postgres::backup_cluster { "${::hostname}-debconf":
+ pg_version => '9.6',
+ pg_port => 5434,
+ pg_cluster => 'debconf',
+ }
+ }
- if $::hostname in [melartin, vittoria, godard, buxtehude] {
+ if $::hostname in [melartin, vittoria, godard, buxtehude
, danzi
] {
postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
}
}