diff --git a/resources/providers/config.rb b/resources/providers/config.rb index 3d5d145..f7581bb 100644 --- a/resources/providers/config.rb +++ b/resources/providers/config.rb @@ -33,9 +33,9 @@ notifies :restart, 'service[rsyslog]', :delayed end - if node['interfaces'] && !node['interfaces'].empty? - node['interfaces'].each do |iface_key, _orig_iface| - iface = node['interfaces'][iface_key].to_hash.clone + if node['redborder']['interfaces'] && !node['redborder']['interfaces'].empty? + node['redborder']['interfaces'].each do |iface_key, _orig_iface| + iface = node['redborder']['interfaces'][iface_key].to_hash.clone arp_ifaces.push(iface_key) if iface['arp'] == 'true'