Project

General

Profile

Bug #7529

Updated by Dominic Cleal over 10 years ago

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1144056  
  Description of problem: 
 When running katello-installer -i, the order in which the installer reports its options changes on each run of the command.  

 Version-Release number of selected component (if applicable): 
 katello-installer-0.0.64-1.el6sat.noarch 


 How reproducible: 
 100% 

 Steps to Reproduce: 
 1. run katello-installer -i 
 2. exit the command 
 3. run katello-installer -i again 

 Actual results: 

 The menu items are in differing order each time the command is run, which confuses the end user.  

 <pre> 
  


 # katello-installer -i 
 Welcome to the Kafo installer! 
 ------------------------------ 

 This wizard will gather all required information. You can change any parameter 
 to your needs. 


 Ready to start? (y/n) 
 y 
 Main Config Menu 
 1. [✓] Configure foreman 
 2. [✓] Configure foreman_plugin_tasks 
 3. [✗] Configure foreman_plugin_puppetdb 
 4. [✓] Configure foreman_plugin_hooks 
 5. [✗] Configure foreman_plugin_chef 
 6. [✓] Configure certs 
 7. [✓] Configure katello 
 8. [✓] Configure capsule 
 9. [✗] Configure foreman_plugin_setup 
 10. [✗] Configure foreman_plugin_default_hostgroup 
 11. [✗] Configure foreman_plugin_templates 
 12. [✓] Configure foreman_plugin_discovery 
 13. [✓] Configure foreman_plugin_bootdisk 
 14. Display current config 
 15. Save and run 
 16. Cancel run without Saving 
 Choose an option from the menu... ^CGot interrupt, exiting 
 </pre> 

 <pre> 
 


 # katello-installer -i 
 Welcome to the Kafo installer! 
 ------------------------------ 

 This wizard will gather all required information. You can change any parameter 
 to your needs. 


 Ready to start? (y/n) 
 y 
 Main Config Menu 
 1. [✓] Configure capsule 
 2. [✗] Configure foreman_plugin_setup 
 3. [✗] Configure foreman_plugin_templates 
 4. [✗] Configure foreman_plugin_chef 
 5. [✓] Configure certs 
 6. [✓] Configure foreman_plugin_hooks 
 7. [✓] Configure foreman_plugin_bootdisk 
 8. [✓] Configure foreman 
 9. [✗] Configure foreman_plugin_default_hostgroup 
 10. [✓] Configure katello 
 11. [✓] Configure foreman_plugin_discovery 
 12. [✓] Configure foreman_plugin_tasks 
 13. [✗] Configure foreman_plugin_puppetdb 
 14. Display current config 
 15. Save and run 
 16. Cancel run without Saving 
 Choose an option from the menu... 
 </pre> 


 



 Expected results: 
 Menu items are placed in the same order on each invocation of the command.

Back