[Fix] Updated the puppet module and add the smallfile support

This patch fix: bz#1028690, bz#1036207, bz#1029322

Change-Id: If46f956bd0c959ace9689d154c230efb928e9a2b
(cherry picked from commit 17aa9f6c9d1444f129237c6501d0a04f973aede4)