mirror of https://github.com/zulip/zulip.git
24 lines
777 B
Puppet
24 lines
777 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":
|
|
ensure => file,
|
|
require => Package["postgresql-${zulip::base::postgres_version}"],
|
|
owner => 'postgres',
|
|
group => 'postgres',
|
|
mode => '0640',
|
|
source => 'puppet:///modules/zulip_ops/postgresql/pg_hba.conf',
|
|
}
|
|
|
|
file { "/usr/share/postgresql/${zulip::base::postgres_version}/zulip_nagios_setup.sql":
|
|
ensure => file,
|
|
require => Package["postgresql-${zulip::base::postgres_version}"],
|
|
owner => 'postgres',
|
|
group => 'postgres',
|
|
mode => '0640',
|
|
source => 'puppet:///modules/zulip_ops/postgresql/zulip_nagios_setup.sql',
|
|
}
|
|
|
|
}
|