opscode/chef — pull request #1171 by stevendanna (2013-12-05 19:46:24+00:00)
Title: [CHEF-3075] Allow 1 character environment names.

String#chop will remove the last character of a string, preventing
single-character environment names. String#chomp removes the last
character only if it is the record separator.