Project

General

Profile

User story #6307

Updated by François ARMAND over 3 years ago

We actually write technique directly without any checks on inputs 

 This may leads to invalid techniques that cannot be read after or break policy generation. after. 

 We What we should check that any generated file is syntactically correct.  

 We will do that with rudderc for a first check level: generated techniques are syntactically correct and compilable. do: 

 We need * write technique "mytechnique.cf.new" in the current path 
 * run cf-promises on it 
 * on error: 
 ** mv to think about how "mytechnique.cf.error_timestamp" 
 * on success: 
 ** mv to do that also on an agent by agent level (cfengine and DSC), and even a node by node one once we will make compilation a latter stage with node-specific parameters. "mytechnique.cf"

Back