Forum: CFEngine Help
Subject: template problem with insert_type file
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,22704,22704#msg-22704

Hello,

at the moment I'm facing the following problem:

I try to create a file (e.g. config.inc), that is build from different input 
templates (e.g. template_a, template_b, ...). So I use insert_type => "file" 
more than once for this file promise.

Here I get into trouble, when there are similar lines in different templates. 
They are skipped

Promised file line "test_content" exists within file /config.inc (promise kept)


I see no way the create a file using different templates and not loosing 
identical lines.

Does anyone have a hint?

Best wishes
Michael

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to