Project

General

Profile

« Previous | Next » 

Revision 85e34267

Added by Michael Moll over 4 years ago

Fixes #29173 - Fix Layout/SpaceAfterComma cop

View differences:

modules/tftp/server.rb
end
def pxeconfig_file mac
["#{pxeconfig_dir}/01-"+mac.tr(':',"-").downcase]
["#{pxeconfig_dir}/01-"+mac.tr(':', "-").downcase]
end
end
class Pxelinux < Syslinux; end
......
end
def pxeconfig_file mac
["#{pxeconfig_dir}/menu.lst.01"+mac.delete(':').upcase, "#{pxeconfig_dir}/01-"+mac.tr(':','-').upcase]
["#{pxeconfig_dir}/menu.lst.01"+mac.delete(':').upcase, "#{pxeconfig_dir}/01-"+mac.tr(':', '-').upcase]
end
end
......
end
def pxeconfig_file mac
["#{pxeconfig_dir}/grub.cfg-01-"+mac.tr(':','-').downcase, "#{pxeconfig_dir}/grub.cfg-#{mac.downcase}"]
["#{pxeconfig_dir}/grub.cfg-01-"+mac.tr(':', '-').downcase, "#{pxeconfig_dir}/grub.cfg-#{mac.downcase}"]
end
end
......
end
def pxeconfig_file mac
["#{pxeconfig_dir}/01-"+mac.tr(':',"-").downcase+".ipxe"]
["#{pxeconfig_dir}/01-"+mac.tr(':', "-").downcase+".ipxe"]
end
end

Also available in: Unified diff