[bin] Temporary bugfix for puppet --detailed-exitcodes

  puppet 2.7.12 seem enable --detailed-exitcodes, catch exit (yes it's ugly)
[puppet/master] Clean master conf
[puppet/client] Fix puppet master var