zulip/puppet/zulip_ops/manifests/postgres_appdb.pp

24 lines
757 B
ObjectPascal
Raw Normal View History

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",
}
}