The current implementation only supports puppet < 2.6, when using 2.7.x it will complain all the time saying that the executable to check syntax has changed. With this patch, it will work for version <= 2.7.x