cleaned up logic in init.pp, removed extra template file