executing remote command
I am new to puppet, and I am trying to do something very simple. I want to check OS version (CentOS,Rhel, Ubuntu) and then based on that issue either yum install xxx or rmp -Uvh command.
How will my manifest file look like, and how would I be compiling this module and assign it to Group of Nodes.
Thanks in advance