Backwards compatible syntax change to support Chef 11.