Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2e459e91 authored by Philippe Virouleau's avatar Philippe Virouleau
Browse files

Merge branch 'fix-interfaces' into 'master'

network_monitoring: make sure 'interfaces' always exist

See merge request !552
parents a912e684 4f67ae00
No related branches found
No related tags found
1 merge request!552network_monitoring: make sure 'interfaces' always exist
Pipeline #867472 passed with warnings
......@@ -58,6 +58,8 @@ def generate_puppet_network_monitoring(options)
puts "ERROR: multiple entry for #{fqdn_eq_name} in hiera"
end
net_hosts_eq['interfaces'] ||= []
eq_v['linecards'].each do |l|
next if l == {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment