Updates to puppet, fixes to sh sql scripts to not have TTY errors, sped ...

...up isntallation