Fixes #15 Updates for chef 12
Merge pull request #25 from acharlieh/chef-12

Also fixes #15
Fixes #21 use comparison for platform based attributes
instead of platform_family? as that is not available in chef 10