Project

General

Profile

User story #8435

Updated by BenoƮt PECCATTE over 8 years ago

- Role definition are in etc/server-roles.d  
 - Those files are sent via inventory to the webapp 
 - The webapp decides via its rudder.server-roles.* setting if it can trust those roles 
 - The webapp generate static classes in the &NODEROLE& variable 

 > -> Some promises use those classes (from the webapp) 
 > -> Some promises use classes defined in site.st by directly reading etc/server-roles.d  

 We should make sure that we have only one way to know those roles.

Back