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":
|
2018-08-13 21:20:34 +02:00
|
|
|
ensure => file,
|
2018-04-23 08:41:28 +02:00
|
|
|
require => Package["postgresql-${zulip::base::postgres_version}"],
|
2018-08-13 21:29:40 +02:00
|
|
|
owner => 'postgres',
|
|
|
|
group => 'postgres',
|
2018-08-13 21:20:34 +02:00
|
|
|
mode => '0640',
|
2018-08-13 21:29:40 +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":
|
2018-08-13 21:20:34 +02:00
|
|
|
ensure => file,
|
2018-04-23 08:41:28 +02:00
|
|
|
require => Package["postgresql-${zulip::base::postgres_version}"],
|
2018-08-13 21:29:40 +02:00
|
|
|
owner => 'postgres',
|
|
|
|
group => 'postgres',
|
2018-08-13 21:20:34 +02:00
|
|
|
mode => '0640',
|
2018-08-13 21:29:40 +02:00
|
|
|
source => 'puppet:///modules/zulip_ops/postgresql/zulip_nagios_setup.sql',
|
2016-07-31 07:19:32 +02:00
|
|
|
}
|
|
|
|
|
2013-07-25 20:56:23 +02:00
|
|
|
}
|