Skip to content

Commit

Permalink
change interface location
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Dec 8, 2024
1 parent d1c311d commit 50d2b13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 50d2b13

Please sign in to comment.