How about,

```ruby
default['postgresql']['enable_pgdg_apt'] = false
```

So it is similar to yum, below.