Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 078963e9 authored by PARISOT Clement's avatar PARISOT Clement
Browse files

[lib] Add new YAML file type for disks

parent ef5307e0
Branches
Tags
1 merge request!1307[grenoble] kinovis - Replace disks (bug #16791)
...@@ -21,7 +21,7 @@ def yaml_input_required_unwanted_files(options) ...@@ -21,7 +21,7 @@ def yaml_input_required_unwanted_files(options)
Dir::entries(cluster_input_dir).each do |f| Dir::entries(cluster_input_dir).each do |f|
next if %w{. .. nodes pdus.yaml}.include?(f) next if %w{. .. nodes pdus.yaml}.include?(f)
next if f =~ /^#{cluster_uid}(|_metrics|_pdus|_pdu|_retired|_ib|_extra).yaml(.erb)?$/ next if f =~ /^#{cluster_uid}(|_metrics|_pdus|_pdu|_retired|_ib|_extra|_disks).yaml(.erb)?$/
puts "ERROR: Unwanted file #{f} in #{cluster_input_dir}" puts "ERROR: Unwanted file #{f} in #{cluster_input_dir}"
r = false r = false
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment