opscode/chef — pull request #1567 by albandiguer (2014-06-27 00:49:13+00:00)
Title: FileEdit#prepend_line_if_missing

This method can be used to prepend environment variable before a script evaluation for example.