Syntax fixes

It fails for me with Ruby 1.8 with chef-solo 11.12.4 and for @jessp01 with 1.9 without this