Validate the type field in the resource
Validate the type field in the resource

Use equal_to to validate the user input to make sure we only accept the
values we know about

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>

opscode-cookbooks/dmg,chef-cookbooks/dmg