projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exim/common/rhsbllist: Stop using the obsolete rfc-ignorant.org DNSBLs
[mirror/dsa-puppet.git]
/
modules
/
postgres
/
manifests
/
backup_server
/
register_backup_clienthost.pp
diff --git
a/modules/postgres/manifests/backup_server/register_backup_clienthost.pp
b/modules/postgres/manifests/backup_server/register_backup_clienthost.pp
index
ff0f8f1
..
fc4cc0c
100644
(file)
--- a/
modules/postgres/manifests/backup_server/register_backup_clienthost.pp
+++ b/
modules/postgres/manifests/backup_server/register_backup_clienthost.pp
@@
-7,9
+7,9
@@
#
# @param allow_read_basedir directory under which files can be read
# @param allow_read_hosts subdirectories under base to allow
#
# @param allow_read_basedir directory under which files can be read
# @param allow_read_hosts subdirectories under base to allow
-
define
postgres::backup_server::register_backup_clienthost (
+
class
postgres::backup_server::register_backup_clienthost (
String $allow_read_basedir = '/srv/backups/pg',
String $allow_read_basedir = '/srv/backups/pg',
- Array[Stdlib::Fqdn] $allow_read_hosts =
lookup( { 'name' => 'postgres::backup_server::register_backup_clienthost::allow_read_hosts', 'default_value' => [] } )
,
+ Array[Stdlib::Fqdn] $allow_read_hosts =
[]
,
) {
include postgres::backup_server::globals
) {
include postgres::backup_server::globals
@@
-23,8
+23,4
@@
define postgres::backup_server::register_backup_clienthost (
from => $base::public_addresses,
collect_tag => $postgres::backup_server::globals::tag_source_sshkey,
}
from => $base::public_addresses,
collect_tag => $postgres::backup_server::globals::tag_source_sshkey,
}
-
- # this rule is only needed for clusters that we do not manage
- # with postgres::cluster. Hopefully these will go away with time
- Ferm::Rule::Simple <<| tag == 'postgres::backup_server::to-client' |>>
}
}