Added Debian-based package installation to the puppet agent install to avoid dual facter installation by both gem and apt-get

This is to fix the conflict found in issue https://github.com/puppetlabs/Razor/issues/435, it verifies that it's a Debian based distro before running "apt-get -y install puppet", and if it's not a Debian-based distro it will install normally via gem.