Project

General

Profile

Bug #16311

Updated by Ivan Necas about 8 years ago

Typo in cleanup.rake: should be 
 `puts _('The tasks will be deleted after %{after}') % { :after => ForemanTasks::Cleaner.cleanup_settings[:after] }`. 

 How to reproduce: 

 1. in Foreman's `config/settings.plugins.d/foreman_tasks.yaml`: 

 <pre> 
 :foreman-tasks: 
   :cleanup: 
     :after: 365d 
 </pre> 

 2. run `foreman-rake foreman_tasks:cleanup:config` to see the configuration 

 Expected: 

 Everything works 

 Current status: 

 <pre> 
 ArgumentError: one hash required 
 </pre> 
 }`

Back