How to find and replace in windows agent puppet file.

asked 2015-11-02 23:20:26 -0600

Arvind gravatar image


I need to replace one conf file its in my windows puppet agent.

What is the best idea to replace like sed.

Not 1 line its 10 lines..

Example : <deny users="#{auth.denyUsers}"/> i need to replace #{auth.denyUsers} into some values in windows puppet agent. Please help its very urgent one...

Anybody have sample code please help me.. Its like config.xml file.

edit retag flag offensive close merge delete