moduleConfigLintdefself.run(files)failures=files.rejectdo|file|yield(file)endiffailures.present?putsfailuresexitfailures.countendendenddesc"Checks syntax for shell scripts and nginx config files in 'lib/support/'"task:config_lintdoshell_scripts=['lib/support/init.d/gitlab','lib/support/init.d/gitlab.default.example','lib/support/deploy/deploy.sh']ConfigLint.run(shell_scripts)do|file|Kernel.system('bash','-n',file)endend