2016-10-17 04:05:49 +02:00
|
|
|
class zulip_ops::postgres_appdb {
|
|
|
|
include zulip_ops::postgres_common
|
2016-07-31 05:17:17 +02:00
|
|
|
include zulip::postgres_appdb_tuned
|
2013-07-25 20:56:23 +02:00
|
|
|
|
2016-07-21 06:09:54 +02:00
|
|
|
file { "/etc/postgresql/${zulip::base::postgres_version}/main/pg_hba.conf":
|
|
|
|
require => Package["postgresql-${zulip::base::postgres_version}"],
|
2013-07-25 20:56:23 +02:00
|
|
|
ensure => file,
|
|
|
|
owner => "postgres",
|
|
|
|
group => "postgres",
|
2018-04-23 08:30:21 +02:00
|
|
|
mode => '0640',
|
2016-10-17 04:05:49 +02:00
|
|
|
source => "puppet:///modules/zulip_ops/postgresql/pg_hba.conf",
|
2013-07-25 20:56:23 +02:00
|
|
|
}
|
2016-07-31 07:19:32 +02:00
|
|
|
|
|
|
|
file { "/usr/share/postgresql/${zulip::base::postgres_version}/zulip_nagios_setup.sql":
|
|
|
|
require => Package["postgresql-${zulip::base::postgres_version}"],
|
|
|
|
ensure => file,
|
|
|
|
owner => "postgres",
|
|
|
|
group => "postgres",
|
2018-04-23 08:30:21 +02:00
|
|
|
mode => '0640',
|
2016-07-31 07:19:32 +02:00
|
|
|
source => "puppet:///modules/zulip_ops/postgresql/zulip_nagios_setup.sql",
|
|
|
|
}
|
|
|
|
|
2013-07-25 20:56:23 +02:00
|
|
|
}
|