- if client[:nfs]
- client[:nfs].each_value do |mount|
- if mount[:host] == node[:hostname]
- client.ipaddresses do |address|
- exports[mount[:path]] ||= {}
+ next unless client[:nfs]
+
+ client[:nfs].each_value do |mount|
+ next unless mount[:host] == node[:hostname]
+
+ client.ipaddresses do |address|
+ exports[mount[:path]] ||= {}