zulip/puppet/zulip_ops/manifests/postgres_appdb.pp

24 lines
763 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":
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",
}
}