Generalize provisioner logic further.