Forum: Cfengine Help
Subject: Re: Re:Hi, any status on ID 470
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,20588,20598#msg-20598

In the meantime, you might want to do something like;


 replace_patterns:
  "DUMPADM_SAVDIR=(?!/var/crash/$(sys.host)).*"  
     replace_with => value("DUMPADM_SAVDIR=/var/crash/$(sys.host)");
  "DUMPADM_CONTENT=(?!kernel).*" 
     replace_with => value("DUMPADM_CONTENT=kernel");
  "DUMPADM_ENABLE=(?!yes).*"  
     replace_with => value("DUMPADM_ENABLE=yes");


Cheers,
--Nakarin

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

Reply via email to