mirror of https://github.com/zulip/zulip.git
24 lines
757 B
Puppet
24 lines
757 B
Puppet
class zulip_ops::postgres_appdb {
|
|
include zulip_ops::postgres_common
|
|
include zulip::postgres_appdb_tuned
|
|
|
|
file { "/etc/postgresql/${zulip::base::postgres_version}/main/pg_hba.conf":
|
|
require => Package["postgresql-${zulip::base::postgres_version}"],
|
|
ensure => file,
|
|
owner => "postgres",
|
|
group => "postgres",
|
|
mode => 640,
|
|
source => "puppet:///modules/zulip_ops/postgresql/pg_hba.conf",
|
|
}
|
|
|
|
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",
|
|
mode => 640,
|
|
source => "puppet:///modules/zulip_ops/postgresql/zulip_nagios_setup.sql",
|
|
}
|
|
|
|
}
|