Fixes #21 use comparison for platform based attributes

Uses a comparison against the node attribute instead of platform_family? as that method is not available to attributes in chef 10. Fixes #21