Parameterize basedir and test out some stuff for puppet apply