Several problems with puppet installation scripts

- uname -a doesnt detect debian
- add -y flag for apt-get install
- remove puppet gem if exists