execute use_inline_resources only if chef 11

Execute use_inline_resources only if is available (chef 11 and above)