This could be simplified to:

```ruby
Array(node['pdns']['server_backend']).compact.each do |recipe|
  include_recipe "pdns::#{recipe}"
end
```