opscode-cookbooks/postgresql — pull request #62 by whilp (2013-06-14 18:47:33+00:00)
Title: 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
```