projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove debian.fi
[mirror/dsa-puppet.git]
/
modules
/
postgres
/
manifests
/
backup_source.pp
diff --git
a/modules/postgres/manifests/backup_source.pp
b/modules/postgres/manifests/backup_source.pp
index
835d214
..
912571b
100644
(file)
--- a/
modules/postgres/manifests/backup_source.pp
+++ b/
modules/postgres/manifests/backup_source.pp
@@
-1,4
+1,6
@@
#
#
+# See dsa-wiki input/howto/postgres-backup.creole for some documentation
+#
class postgres::backup_source {
file { "/usr/local/bin/pg-backup-file":
mode => '0555',
class postgres::backup_source {
file { "/usr/local/bin/pg-backup-file":
mode => '0555',
@@
-36,8
+38,19
@@
class postgres::backup_source {
pg_cluster => 'debbugs',
}
}
pg_cluster => 'debbugs',
}
}
+ if $::hostname in [danzi] {
+ postgres::backup_cluster { $::hostname:
+ pg_version => '9.6',
+ pg_port => 5433,
+ }
+ 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}}":
}
}
postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
}
}