Fixes broken case statement

You cant call case foo.class you have to compare it in an if statement
Merge pull request #46 from opscode-cookbooks/cwebberOps/case_fix

Fixes broken case statement
v1.4.3 Release
Merging back to upstream