Added support for future parser when puppet version is >= 3.2

Signed-off-by: hajee <hajee@moretIA.com>