(sorry, I commented on an old version)

Rewrite to:
```
remote_nodes = search(:node, "name:#{node['drbd']['rsc'][resource]['remote_host']}")
raise "Remote node #{node['drbd']['rsc'][resource]['remote_host']} not found!" if remote_nodes.empty?
remote = remote_nodes.first
```