replace puts/raise with Chef::Log calls