880515 - [ALL_LANG][headpin CLI] Redundant brackets in the message of
'Couldn't find organization '??' ()' for system report module with
invalid --org name.
changing 'empty?' to 'blank?'
868090 - [ru_RU] L10n:Content Management - Repositories:
Untranslated string in Products and Repositories tab

"Add Products and Repositories:" was not localized
889488 - run create user only if it is needed

addressing:
notice: /Stage[main]/Candlepin::Config/Postgres::Createuser[candlepin]/Exec[createuser-candlepin]/returns: executed successfully
notice: /Stage[main]/Katello::Config/Postgres::Createuser[katello]/Exec[createuser-katello]/returns: executed successfully
notice: /Stage[main]/Foreman::Config/Postgres::Createuser[foreman]/Exec[createuser-foreman]/returns: executed successfully
info: /Stage[main]/Foreman::Config/Postgres::Createuser[foreman]/Exec[createuser-foreman]: Scheduling refresh of Service[foreman
889488 - run createdb only if needed

addressing:
notice: /Stage[main]/Katello::Config/Postgres::Createdb[katellodb]/Exec[createdb-katellodb]/returns: executed successfully
notice: /Stage[main]/Foreman::Config/Postgres::Createdb[foreman]/Exec[createdb-foreman]/returns: executed successfully
info: /Stage[main]/Foreman::Config/Postgres::Createdb[foreman]/Exec[createdb-foreman]: Scheduling refresh of Service[foreman]
889488 - change selinux identity to system_u

addressing:
notice: /File[/var/log/foreman/thin-log.5500.log]/seluser: seluser changed 'unconfined_u' to 'system_u'
tee could not be used, because it is executed under postgres which does not have acl for /var/log/foo

addressing:
tee: /var/log/katello/katello-configure/create-postgresql-foreman-database.log: Permission denied
(cherry picked from commit 390730e7aa95d2a17453b9f7cb1cdf45b0a139bc)
repo_generation - SRPMs for the fake packages

Also more options when generating the repo. The pulp repo is deleted
after the packages are copied and the repo_id can be auto-generated
repo_generation - errata for updated_zoo
repo_generation - include GPG key in the fake repo
repo_generation - script for generating fake cds
repo_generation - follow symlinks when copying the repo from pulp
Merge pull request #1353 from xsuchy/pull-req-bz889488

Bug 889488 - Katello-configure is not "stable"
repo_generation - safari product for the fake_cds
repo_generation - pulp needs some time for metadata regeneration
Merge pull request #1372 from iNecas/fake-cds-scripts

Fake cds scripts
generate token for foreman

this relate to recent change in foreman:
http://theforeman.org/issues/2109

addressing:
130108-20:15:11 debug: Executing '/usr/bin/ruby /usr/share/foreman/script/foreman-config -k oauth_active -v 'true'                              -k foreman_url -v '10-16-120-136.dhcp.rhq.lab.eng.bos.redhat.com'                              -k token_duration -v '60'                              -k manage_puppetca -v false                              -k oauth_consumer_key -v 'katello'                              -k oauth_consumer_secret -v 'u5l76IGiuHiL5BuxlPoRIUlPmA51GtCi'                              -k oauth_map_users -v 'true'                              -k administrator -v 'root@localhost.localdomain''
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns: /usr/share/foreman/config/initializers/secret_token.rb:6:in `read': Permission denied - /usr/share/foreman/tmp/secret_token (Errno::EACCES)
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/share/foreman/config/initializers/secret_token.rb:6
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:201:in `load'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:201
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:200:in `each'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:200
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `instance_exec'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `run'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:50:in `run_initializers'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `each'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `run_initializers'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:134:in `initialize!'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:77:in `send'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:77:in `method_missing'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/share/foreman/config/environment.rb:5
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `load_dependency'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:593:in `new_constants_in'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `load_dependency'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:103:in `require_environment!'
130108-20:15:16 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/share/foreman/script/foreman-config:75
130108-20:15:16 err: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns: change from notrun to 0 failed: /usr/bin/ruby /usr/share/foreman/script/foreman-config -k oauth_active -v 'true'                              -k foreman_url -v '10-16-120-136.dhcp.rhq.lab.eng.bos.redhat.com'                              -k token_duration -v '60'                              -k manage_puppetca -v false                              -k oauth_consumer_key -v 'katello'                              -k oauth_consumer_secret -v 'u5l76IGiuHiL5BuxlPoRIUlPmA51GtCi'                              -k oauth_map_users -v 'true'                              -k administrator -v 'root@localhost.localdomain' returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/foreman/manifests/config.pp:106
130108-20:15:16 debug: Exec[foreman_config](provider=posix): Executing '/usr/bin/ruby /usr/share/foreman/script/foreman-config -k oauth_active -v 'true'                              -k foreman_url -v '10-16-120-136.dhcp.rhq.lab.eng.bos.redhat.com'                              -k token_duration -v '60'                              -k manage_puppetca -v false                              -k oauth_consumer_key -v 'katello'                              -k oauth_consumer_secret -v 'u5l76IGiuHiL5BuxlPoRIUlPmA51GtCi'                              -k oauth_map_users -v 'true'                              -k administrator -v 'root@localhost.localdomain''
130108-20:15:16 debug: Executing '/usr/bin/ruby /usr/share/foreman/script/foreman-config -k oauth_active -v 'true'                              -k foreman_url -v '10-16-120-136.dhcp.rhq.lab.eng.bos.redhat.com'                              -k token_duration -v '60'                              -k manage_puppetca -v false                              -k oauth_consumer_key -v 'katello'                              -k oauth_consumer_secret -v 'u5l76IGiuHiL5BuxlPoRIUlPmA51GtCi'                              -k oauth_map_users -v 'true'                              -k administrator -v 'root@localhost.localdomain''
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns: /usr/share/foreman/config/initializers/secret_token.rb:6:in `read': Permission denied - /usr/share/foreman/tmp/secret_token (Errno::EACCES)
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/share/foreman/config/initializers/secret_token.rb:6
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:201:in `load'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:201
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:200:in `each'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/engine.rb:200
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `instance_exec'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `run'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:50:in `run_initializers'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `each'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `run_initializers'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:134:in `initialize!'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:77:in `send'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:77:in `method_missing'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/share/foreman/config/environment.rb:5
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `load_dependency'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:593:in `new_constants_in'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `load_dependency'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:103:in `require_environment!'
130108-20:15:21 notice: /Stage[main]/Foreman::Config/Exec[foreman_config]/returns:      from /usr/share/foreman/script/foreman-config:75
130108-20:15:21 err: /Stage[main]/Foreman::Config/Exec[foreman_config]: Failed to call refresh: /usr/bin/ruby /usr/share/foreman/script/foreman-config -k oauth_active -v 'true'
Cli Fix

Adding placeholders into Katello python Cli for gettext, if there
are more then two params.
Merge pull request #1359 from jhadvig/cli_fix

Cli Fix
run security:generate_token only if token does not exist