updated puppet to use defines

Supports setting multiple home directories as well as multiple versions
of java