It's a bit annoying that we have more or less the same code for this recipe in the nfs-server cookbook. Might be worth refactoring the nfs-server cookbook and split it in a generic recipe that we could include here and keep the provisioner-specific bits in another recipe that would only be used there.