DRY chef.rb
Simplify version.rb