I am learning the puppet system and now need to do the next task. We have a few servers with same OS (Altlinux p6,t6) - puppet-agents and have a puppet-master.
On agents there are some packages installed, eg. 200 packages on first, 300 on second .... But we only need 180 installed. We know names of necessary packages but dont know names of other (unnecessary packages).
My question is: How can I check or install (if not installed yet) necessary packages and delete other packages (we dont know names of other installed packages)?