Project

General

Profile

Bug #2613

Updated by Jean VILVER over 12 years ago

*The problem:* 

 If we edit a technique category : 
 <pre> 
 % vim /var/rudder/configuration-repository/techniques/systemSettings/networking/category.xml 
 </pre> 

 And then change the name of that category : 
 <pre> 
 <xml> 
   <!-- <name>Networking</name> --> 
   <name>Networking new name</name> 
   ... 
 </xml> 
 </pre> 

 Then: 
 <pre> 
 % cd /var/rudder/configuration-repository 
 % git add . 
 % git commit -m "Change category name" 
 </pre> 

 And then if we go on Technique Library Management in the user interface, and press "Reload", the category name hasn't changed. 

 *The workaround:* 

 If we want the "Reload" to work, we need to edit a technique. For example a technique name : 

 <pre> 
 % vim /var/rudder/configuration-repository/techniques/systemSettings/networking/nfsClient/1.0/metadata.xml 
 </pre> 

 And then change the technique's name : 
 <pre> 
 <TECHNIQUE name="NFS Client new name"> 
 <!-- <TECHNIQUE name="NFS Client"> --> 
   ... 
 </TECHNIQUE> 
 </pre> 

 Then: 
 <pre> 
 % cd /var/rudder/configuration-repository 
 % git add . 
 % git commit -m "Change technique name" 
 </pre> 

 Now if we press "Reload", the technique change and the category name change are visible.  

 A other change must be there (i.e. change technique name) if we want to update a category in the user interface. This behavior has need to be fixed.

Back