Fixing chef-11 deprecation issues