Project

General

Profile

User story #9063

Updated by Alexis Mousset over 7 years ago

We need to: 

 * Find the Rudder version 
 * Change list-compatible input to be able to filter on it 
 * Change ncf python script to extract it too 
 * Change documentation scripts to be able to display it 

 The behavior will be: 

 |agent|if feature, version support|dry-run support| 
 |Rudder <=3.1.13, <= 3.2.6|no|no| 
 |Rudder >3.1.13, >3.2.6|yes|no| 
 |Rudder >= 4.0|yes|yes| 
 |CFEngine 3.6|no|no| 
 |CFEngine 3.7|if version only|no| 
 |CFEngine >= 3.9|yes|yes| 

 The behavior will be: 



 |@agent_version@ 

 * If there is an @agent_version@ 


 |agent_version in the file|r@udder_version@ file|rudder_version in the file|agent version in the agent|case|outcome| 
 |no|no|*|    |no restriction| 
 |yes|no|no| not a Rudder agent, standard CFEngine comparison |use CFEngine version| 
 |yes|no|yes|it is a Rudder agent but no restriction, standard CFEngine comparison | use CFEngine version| 
 |no|yes|no|it is not a Rudder agent|use CFEngine version| 
 |no|yes|yes|it is a Rudder agent, and we have a restriction| use Rudder version| 
 |yes|yes|no|it is not a Rudder agent|use CFEngine version| 
 |yes|yes|yes|it is a Rudder agent, and we have a restriction| use Rudder version|

Back