Updated to use nodejs puppet module