Started implementation of ensure_provisioning #30