Fix keymaster file declaration, and try and echo to a file on the puppetmaster