implementing resources without Chef::Util::FileEdit