Remove trailing white space in templates/default/my.cnf.erb.