typo fixed
Merge branch 'master' of https://github.com/qinjx/puppet-example
Merge branch 'master' of https://github.com/qinjx/puppet-example
use switch/case, syntax error fixed