X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/8eedb4e50cd2a739f321291cc2c5d54eb2741215..002b60653876baaaf093d14f0e83ec6207fce519:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 34a1a52af..13fd2252b 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -37,6 +37,8 @@ netplan = { } } +node.rm_normal(:networking) + node[:networking][:interfaces].each do |name, interface| if interface[:interface] if interface[:role] && (role = node[:networking][:roles][interface[:role]])