Interesting. Maybe drop the 'value' part?

```
def frontend
  if node['haproxy']['enable_ssl']
    {
      https: {
        foo: bar
      }
    }
  else
    ...
end
```