projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the backup of the pg instance of melartin to a more hiera and facter based setup
[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
4941bfb
..
663a6b4
100644
(file)
--- a/
modules/postgres/manifests/backup_source.pp
+++ b/
modules/postgres/manifests/backup_source.pp
@@
-17,7
+17,7
@@
class postgres::backup_source {
ssh::keygen {'postgres': }
ssh::keygen {'postgres': }
- if $::hostname in [
melartin,
vittoria] {
+ if $::hostname in [vittoria] {
postgres::backup_cluster { $::hostname:
pg_version => '9.6',
}
postgres::backup_cluster { $::hostname:
pg_version => '9.6',
}
@@
-63,7
+63,7
@@
class postgres::backup_source {
}
}
}
}
- if $::hostname in [
melartin,
vittoria, godard, buxtehude, danzi, postgresql-manda-01] {
+ if $::hostname in [vittoria, godard, buxtehude, danzi, postgresql-manda-01] {
postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
}
}
postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
}
}