Puppet compare ini file between server and agent

asked 2018-11-20 05:55:40 -0600

0 down vote favorite its possible to compare ini file before copy to agent ? for example I have sys.ini file on different agents:

Agent-1:
sys.ini
---ip:x.x.x.1

Agent-2:
sys.ini
---ip:x.x.x.2

Now I want add new line to the sys.ini on the Puppet Server like:

> sys.ini
> ---ip:x.x.x.x
> ---name:x.x.x.x

I want to add only the NAME to the sys.ini on agent-1 and 2, is that possible ? Not to override the whole sys.ini on agents.

thanks in advance

Regards,

Katherine

edit retag flag offensive close merge delete