Forum: Cfengine Help
Subject: Forest for the trees? Syntax error
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,20320,20320#msg-20320

I'm not sure what I am missing.  In our custom_library.cf  is the following 
bundle:


bundle edit_line fix_FQHOST
{
 replace_patterns:

   "FQHOST" replace_with => value("$(sys.fqhost)");
}


But when a promise with the string "FQHOST" is used - for example,  
"$(sys.workdir)/test/FQHOST" 

there is a syntax error in the log:


/var/cfengine/inputs/custom_library.cf:53,1: Redefinition of bundle fix_FQHOST 
for edit_line 
is a broken promise, near token '{'   
cf-agent was not able to get confirmation of promises from cf-promises, so 
going to failsafe


What am I missing??

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

Reply via email to