1 # PRIVATE CLASS: do not use directly
2 class postgresql::server::reload {
3 $service_name = $postgresql::server::service_name
4 $service_status = $postgresql::server::service_status
5 $service_reload = $postgresql::server::service_reload
7 exec { 'postgresql_reload':
8 path => '/usr/bin:/usr/sbin:/bin:/sbin',
9 command => $service_reload,
10 onlyif => $service_status,
12 require => Class['postgresql::server::service'],