I am new in using virtualization technologies. I have read about Puppet and Foreman. If I am not mistaken, these software are used to automate the process of installing and configuring servers, for both real machines and virtual machines. An example is shown in this video.
Refer to this website, in a cloud computing environment, we can create VM template and use it to deploy many VM with similar configurations. A VM template is a master copy of a virtual machine that can be used to create and provision virtual machines.
Refer to the Youtube video mentioned above, if we use Puppet and Foreman to install and configure VM, it seems that we need to repeat the installation and configuration process in all VM. Why can't we just use VM template?