fixed puppet agent problem and error in the manifest