I’ve been using Puppet for a while now and recently, was working on deployment on a server which got ruby installed from cPanel scripts. As ruby and other required modules were already working, I downloaded the Puppet 2.6 source from http://downloads.puppetlabs.com/puppet/ and installed it on the server. Created a manifest with required configuration for the node but on running puppet agent on the node everything was working fine except for the issue that files being created were blank. My master server was working with rest of the nodes so there was something wrong with this new node that I’ve added. In order to save time, I simply downloaded 2.6.1 and tested it. It worked flawlessly.
Moral of the story: Do not use 2.6