Splitting the nightly Debian packages

Hey all,

I'll be uploading new split packages (similar to Jason's RPMs) to the
nightly repo, hopefully tomorrow night if all goes well. This is a
substantial change to the existing Debian packages, and I expect some
breakage in the first day or two.

Therefore, if you're currently on the nightlies and don't want to
get hit by this, I recommend downgrading to the testing packages for
the next week or two. If you want to help with the testing (and I'm
really going to need a few people for that :P) then stay on the
nightlies and see what happens :slight_smile:

There will be one foreman-$name package for each file in bundler.d[1]
so as a minimum you'll want to install "foreman" and one of
"foreman-{mysql,mysql2,pgsql,sqlite3". Other packages are, of course,
optional. At the moment the dbconfig stuff is not working, so the
packages cannot ask you for your db name/user/password - you'll have
to do that yourself (and run the rake db:migrate). Sqlite needs no
real configuration, so that should work out of the box.

After this change, I need to package the rubygems themselves before we
can do the stable release - bundler/rubygems isn't suitable for a
stable Debian package. If I have time I'll try to fix dbconfig too,
but I consider this optional at the moment.


[1] https://github.com/theforeman/foreman/tree/develop/bundler.d

Hi all,

As stated yesterday, the split packages will go live (in nightly)
tonight. The instructions are very similar to the Yum development
instructions now:

Example Debian 6 (Squeeze) install on SQlite3 with libvirt bindings:

echo "deb http://deb.theforeman.org/ nightly main" >> /etc/apt/sources.list
apt-get update
apt-get install foreman foreman-sqlite3 foreman-libvirt
vi /etc/settings/settings.yaml /etc/settings/database.yml
su - foreman -s /bin/bash -c /usr/share/foreman/extras/dbmigrate

The sqlite3 package will install database.yml file and do a db:migrate
if one does not exist. Mysql/PostgreSQL won;t since they do not know
your database credentials, but they will do a db:migrate if the file
already exists. So upgrades of any of the packages should always do a
db:migrate - it's only a first install where you'll have to do it
yourself. The wiki[1] is also updated with the above information.

Those of you brave enough to stay on the nightlies - I salute you!
Please file bugs in the usual place[2] and/or grab me on IRC.


ยทยทยท -- @gwmngilfen (#theforeman) -- [1]http://theforeman.org/projects/foreman/wiki/Debian-Ubuntu_installation_by_packages#Nightly-Install [2]http://theforeman.org/projects/smart-proxy