Katello/katello — pull request #1164 by lzap (2012-11-30 14:22:02+00:00)
Title: Configure answer

This PR fixes 882167 https://bugzilla.redhat.com/show_bug.cgi?id=882167 - katello-upgrade was not working for latest nightlies because cpdb was not provided with correct username and password.

For this purpose I have added new command katello-configure-answer. It can return value from answer file (or all of them). See the help and man page for more details. We use this in a cpdb migration to get correct credentials. This tool can be valuable for users, so I made a generic command so users can use this in their scripts etc.

We should consider moving towards full Puppet upgrades, current design of katello upgrade will not work in a distributed environment. But before this, puppet code will need some refactoring.