Defined Type: postgresql::server::instance::reload
- Defined in:
-
manifests/server/instance/reload.pp
Summary
Overrides the default reload or status command for your PostgreSQL service
Overview
5
6
7
8
9
10
11
12
13
14
15
16
|
# File 'manifests/server/instance/reload.pp', line 5
define postgresql::server::instance::reload (
String[1] $service_status = $postgresql::server::service_status,
String[1] $service_reload = $postgresql::server::service_reload,
) {
exec { 'postgresql_reload':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
command => $service_reload,
onlyif => $service_status,
refreshonly => true,
require => Class['postgresql::server::service'],
}
}
|