[katello-devel] Finally -> Update to database.yml

Partha Aji paji at redhat.com
Tue Aug 30 21:16:50 UTC 2011


So after various dicussions decided to go with this and have pushed http://git.fedorahosted.org/git/?p=katello.git;a=commit;h=833d6288a3d41e37fb08fc1858c292e8f1ee156a accordingly

Users have to now specify the database.yml in katello.yml . So all config in katello.yml

The database.yml will be in /usr/share/katello/config but will use the entries in /etc/katello/katello.yml. 

User will have to tinker with the following in /etc/katello/katello.yml 

production:
  database:
    adapter: sqlite3
    database: db/production.sqlite3
    pool: 5
    timeout: 5000
#or
#  database:
#   adapter: postgresql
#   username: katello
#   password: katello
#   database: katello
#   host: localhost
#   encoding: UTF8

to setup the database.

Partha




More information about the katello-devel mailing list