Update init.pp

Bad logic for type validate.
Merge pull request #371 from mr-tron/master

Changed testing variables in init.pp