use use_inline_resources only if defined, as use_inline_resources is not available on all Chef versions