use "use_inline_resources" only if chef11 and superior
use defined? instead of version checking