Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit db6acd90 authored by Lucas Nussbaum's avatar Lucas Nussbaum

Fix rubocop warning

parent bc34190f
Pipeline #60383 passed with stages
in 1 minute and 39 seconds
......@@ -423,7 +423,7 @@ def generate_puppet_bindg5k(options)
dest_dir = "#{$options[:output_dir]}/platforms/production/modules/generated/files/bind/"
zones_dir = File.join(dest_dir, "zones/#{site_uid}")
if File::exists?(zones_dir)
if File::exist?(zones_dir)
# Cleanup of old zone files
Find.find(zones_dir) do |path|
next if not File::file?(path)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment