Since you have these tests I'd like to see one that does

```ruby
    chef_run.node.set['postgresql']['discovery']['enabled'] = true
    chef_run.node.set['postgresql']['replication']['failover'] = true
```

and does not include discovery. false/true here doesn't look like it exercises the branch in `default.rb`?