Project

General

Profile

User story #3073

Updated by Vincent MEMBRÉ almost 12 years ago

The new log file about "non compliant reports" need to have a logrotate configuration given by rudder. 

 we have to add in techniques/system/distributePolicy/1.0/logrotate.debian.st  
 <pre> 
 /var/log/rudder/compliance/non-compliant-reports.log { 
         daily 
         missingok 
         rotate 30 
         compress 
         notifempty 
         create 640 root adm 
 } 
 </pre> 



 

 and the same for suse :  
 <pre> 
 /var/log/rudder/compliance/non-compliant-reports.log { 
         daily 
         missingok 
         rotate 30 
         compress 
         notifempty 
         create 640 root root 
 } 
 </pre> 


 pull request : https://github.com/Normation/rudder-techniques/pull/14 

Back