schisamo/vagrant-omnibus — pull request #61 by ampedandwired (2014-01-14 02:00:27+00:00)
Title: Make detection of currently installed Chef version more robust

In some situations the result of running 'chef-solo -v' using
@machine.communicate.sudo includes more than just the command output
(eg: command prompts, session setup commands).

This change finds the chef version in the resultant output using a
regular expression to handle situations like this.