Hi all,
The time has come - the new 1.0 Debian packages will be hitting the
repositories tonight. This email is to give you all a heads up on what
to expect.
Upgrading from 0.4.2 to 1.0 (stable upgrade)
···
---This should “just work”. We’ve tested it on a Debian 6 (32 and 64bit)
and all seems well. The packages include a db:migrate, so your
database will be migrated too. However, please note the new
split-package architecture - you may want to run “apt-cache search
foreman” and see if any of the new dependencies fit your usecase.
This will be added to the wiki later today.
Upgrading from testing to 1.0
Firstly thanks to all the people that have used testing in the last
few weeks - it’s been really valuable!. There’s a few issues with
testing, and if you can afford to do so, you might be better building
a fresh Foreman stable server. If that’s not possible, I recommend the
following process:
apt-get update
cd /usr/share/foreman
rm -rf .bundle/config # Unless you modified this yourself, in which
case you need to remove the lines which make bundler write to vendor/
apt-get upgrade
It’s possible that Apt will think that 1.0 is older than 1.0rc5 - I
misread the versioning guidelines. In this case you can downgrade the
package:
apt-get install foreman=1.0-3
Downgrading from nightly
Nightly is using the new packaging format already, and should be
trivial to downgrade, but I wouldn’t recommend it. It’s quite possible
that your database will be wrong due to newer migrations being
applied. You can try it if you must, and I’ll be on IRC if you need me
New bits and pieces
There are sample database files in the mysql, mysql2, and postgresql
packages to help you get started. The sqlite3 package installs a
working database file if you don’t already have one, so a simple
working install is “apt-get install foreman foreman-sqlite3”. Look in
/etc/foreman for these files. The new ENC script for your
puppetmasters can be found in /etc/foreman as well
The packages will be pushed to stable tonight, after I’ve had a chance
to update the Debian install wiki. Fingers crossed
Cheers,
Greg