How to check the operating system name,version & how to print the message on agent side according to this O.S.?
I m trying to find the O.S. version of agent machine *E.g. If the agent machine is 32 bit then I want to print the message on agent side is* "The Machine is 32 bit O.S." * So what code I should written in my puppet manifest.? Please help me for that question. It is very important for me and I am no idea about how to print the message on agent side. Please please help me. Please give me a sample code. Please anyone help me.*