Forum: CFEngine Help Subject: Re: Concatenating multiple files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27049,27061#msg-27061
Now the truth comes out ;). This is why we like to focus on why you need something rather than what you need. You have multiple files controled by multiple people. You want to keep it that way. I think the first thing you should do is define the circumstances when each files should be inserted appended to /etc/hosts. Also consider the question of when to append and when to empty /etc/hosts first. Always appending is not convergent. Once you get that sorted out I think some edit_line promises should work for you. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine