fixed syntax/key errors
fine tuning
add puppet agent plugin/check