Fix puppet.sh scripts to actually honor PUPPET_VERSION

There are some puppet.sh scripts that execute `gem install puppet` prior to
evaluating PUPPET_VERSION. This results in installing the latest version of
Puppet instead of the one specified in PUPPET_VERSION.
Merge pull request #633 from mlafeldt/fix-puppet-version

Fix puppet.sh scripts to actually honor PUPPET_VERSION