Use puppet() instead of shell() to install module dependencies