execute use_inline_resources only if chef11

Execute use_inline_resources only if available (chef 11 and above)