Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send :reload to service[postgresql] on postgresql.conf changes.
The current code sends :restart, which is disruptive. It is also not necessary in many situations (like changes to the `log_*` config attributes). Sending :reload means that some config changes that require :restart won't take effect automatically, but I think that's a safer default than the disruptive restart-all-the-time strategy. Callers that want the old behavior can patch the resource: ```ruby pgconf = resources("#{node['postgresql']['dir']}/postgresql.conf") pgconf.notifies :reload, 'service[postgresql]', :immediately ```
- Loading branch information