15472 - rewrite puppet agent

Include the spec tests for the vendored puppet_agent_mgr gem