Use puppet template and enable logging

Use pupet template to create local.conf and enable logging
Merge branch 'fix-missing-git_clone.sh'
Merge branch 'add-setup-mode'
Merge branch 'use-puppet-template'
Merge branch 'stacksh-notimeout'